You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support the objectAlias key for non-json secrets as well as json secrets via jmesPath, allowing for non-json secrets to be aliased to a new name.
Use Case
It's common to name SSM String Parameters by path, e.g. /rds/proxy/endpoint. If I want to pull those parameters in as kubernetes secrets via the blueprints' SecretProviderClass, I currently have to accept that they will end up being named _rds_proxy_endpoint when I mount them to my pod. The secrets store provider supports an objectAlias input that allows the secret to be renamed to something more palatable, e.g. RDS_PROXY_ENDPOINT.
/** * Data for Kubernetes Secrets */interfaceKubernetesSecretObjectData{/** * Name of the AWS Secret that is syncd */objectName?: string;/** * An alias for the resulting Kubernetes secret */objectAlias?: string;/** * Kubernetes Secret Key */key?: string;}
Other Information
No response
Acknowledgements
I may be able to implement this feature request
CDK version used
2.115.0
EKS Blueprints Version
1.13.1
Node.js Version
Any
Environment details (OS name and version, etc.)
Any
The text was updated successfully, but these errors were encountered:
Describe the feature
Support the
objectAlias
key for non-json secrets as well as json secrets via jmesPath, allowing for non-json secrets to be aliased to a new name.Use Case
It's common to name SSM String Parameters by path, e.g.
/rds/proxy/endpoint
. If I want to pull those parameters in as kubernetes secrets via the blueprints'SecretProviderClass
, I currently have to accept that they will end up being named_rds_proxy_endpoint
when I mount them to my pod. The secrets store provider supports anobjectAlias
input that allows the secret to be renamed to something more palatable, e.g.RDS_PROXY_ENDPOINT
.Proposed Solution
Simply update
KubernetesSecretObjectData
to support theobjectAlias
key.Other Information
No response
Acknowledgements
CDK version used
2.115.0
EKS Blueprints Version
1.13.1
Node.js Version
Any
Environment details (OS name and version, etc.)
Any
The text was updated successfully, but these errors were encountered: