Secret Managers
This contains APIs related to SecretManagers as defined in Harness
Query parameters
accountIdentifierstringRequired
Account Identifier for the Entity.
Body
This is the view of the SecretManagerMetadataRequest entity defined in Harness
encryptionTypestring · enumRequiredPossible values:
This specifies the type of encryption used by the Secret Manager to encrypt Secrets.
orgIdentifierstringOptional
Organization Identifier for the Entity.
projectIdentifierstringOptional
Project Identifier for the Entity.
identifierstringRequired
Identifier of the SecretManager metadata.
Responses
400
Bad Request
This is Failure entity as defied in Harness
statusstring · enumOptionalPossible values:
codestring · enumOptionalPossible values:
messagestringOptional
correlationIdstringOptional
500
Internal server error
default
Returns the metadata of Secret Manager
post/secret-managers/meta-data
POST /gateway/ng/api/secret-managers/meta-data?accountIdentifier=text HTTP/1.1
Host: ng-manager-7b6bb5bdbc-5jxjn
Content-Type: application/json
Accept: */*
Content-Length: 129
{
"encryptionType": "LOCAL",
"orgIdentifier": "text",
"projectIdentifier": "text",
"identifier": "text",
"spec": {
"encryptionType": "text"
}
}{
"status": "SUCCESS",
"code": "DEFAULT_ERROR_CODE",
"message": "text",
"correlationId": "text",
"errors": [
{
"fieldId": "text",
"error": "text"
}
]
}Last updated
Was this helpful?