aws / aws/aws-secretsmanager-caching-java

Get secret with specific version ID

Abierto
#19 1 comentario 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
Java
Estrellas
83
Forks
39
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza trazando SecretCache.getSecretString(secretId) y la ruta de SecretCacheConfiguration.setVersionStage mencionada en el issue. Comprueba cómo el constructor de la caché recupera las versiones y, después, verifica que un versionId opcional pueda seleccionar una versión del secreto independientemente de las stages compartidas.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
aws, java
Área
api, cloud
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.