Secret Managers

This contains APIs related to SecretManagers as defined in Harness

Gets the metadata of Secret Manager

Request
Security:
ApiKey (readwrite)
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema:

Details required for the creation of the Secret Manager

encryptionType
required
string
Enum: "LOCAL" "KMS" "GCP_KMS" "AWS_SECRETS_MANAGER" "AZURE_VAULT" "CYBERARK" "VAULT" "GCP_SECRETS_MANAGER" "CUSTOM" "VAULT_SSH"
orgIdentifier
string
projectIdentifier
string
identifier
required
string
required
object (SecretManagerMetadataRequestSpecDTO)
Responses
400

Bad Request

500

Internal server error

default

Returns the metadata of Secret Manager

post/ng/api/secret-managers/meta-data
Request samples
{
  • "encryptionType": "LOCAL",
  • "orgIdentifier": "string",
  • "projectIdentifier": "string",
  • "identifier": "string",
  • "spec": {
    }
}
Response samples
{
  • "status": "SUCCESS",
  • "code": "DEFAULT_ERROR_CODE",
  • "message": "string",
  • "correlationId": "string",
  • "errors": [
    ]
}