How to access secrets in the asset governance rule
next fiscal quarter
H
High Ant
I am trying to fetch some secrets to use them in the asset governance rule.
Can we have a feature to support secret references in governance policies.
Log In
Canny AI
Merged in a post:
Policy evaluation should able to validate the value attribute for Reference type secret.
S
Skinny Grasshopper
This request is the continuation of the ticket https://support.harness.io/hc/en-us/requests/73818. Policy couldn't validate the value(secret key) when the secret is Reference type but we need to enforce the prefix when they use the AWS Secret Manager(reference type) in order to protect the cross access.
R
Rubber Scallop
Feature Request
If Secret Definition Yaml has valueType: Reference, then include the Value.
secret:
type: SecretText
name: sns
identifier: sns
orgIdentifier: AWMAE
projectIdentifier: Renga
description: ""
spec:
secretManagerIdentifier: harnessSecretManager
valueType: Reference
[MISSING/REQUEST] value: /application/harness/<org>/<project>/<actual_secret_key>
Rohit Reddy
next fiscal quarter
Rohit Reddy
Hello High Ant, thank you for your feedback. We are planning to add variable references to Asset Governance Rules based on your feedback, this will allow you to reference the same variable in multiple Rules.