aws / aws/aws-secretsmanager-caching-java

Get secret with specific version ID

Aperta
#19 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
Java
Stelle
83
Fork
39
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia tracciando SecretCache.getSecretString(secretId) e il percorso SecretCacheConfiguration.setVersionStage indicato nell'issue. Controlla in che modo il costruttore della cache recupera le versioni, quindi verifica che un versionId opzionale possa selezionare una versione del secret indipendentemente dagli stages condivisi.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, java
Ambito
api, cloud
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.