aws / aws/aws-secretsmanager-caching-java
Get secret with specific version ID
- Langage dominant
- Java
- Étoiles
- 83
- Forks
- 39
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Currently, the only way to retrieve a secret is by its ID with `SecretCache.getSecretString(secretId)`. There is no way to get a specific _version_ of a secret using its ID and versionId. One can build a `SecretCacheConfiguration` object and call `setVersionStage`, then pass that configuration to a `SecretCache` constructor; however, this still only allows retrieving a specific version of a secret by its Id and _stage_, and would require using the same stage for all secrets (unless constructing separate caches). It would be nice if `getSecretString` took an optional `versionId` string, so that we could use specific versionIds and not just version stages.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par suivre SecretCache.getSecretString(secretId) et le chemin SecretCacheConfiguration.setVersionStage indiqué dans l’issue. Vérifiez comment le constructeur du cache récupère les versions, puis vérifiez qu’un versionId facultatif peut sélectionner une version du secret indépendamment des stages partagés.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- aws, java
- Domaine
- api, cloud
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Clairement spécifiée
- Accessibilité débutants
- 45/100