Secret Managers

This contains APIs related to SecretManagers as defined in Harness

Gets the metadata of Secret Manager

Securityx-api-key
Request
query Parameters
accountIdentifier
required
string

Account Identifier for the Entity.

Request Body schema:
required

Details required for the creation of the Secret Manager

encryptionType
required
string

This specifies the type of encryption used by the Secret Manager to encrypt Secrets.

Enum: "LOCAL" "KMS" "GCP_KMS" "AWS_SECRETS_MANAGER" "AZURE_VAULT" "VAULT" "GCP_SECRETS_MANAGER" "CUSTOM" "VAULT_SSH" "CUSTOM_NG"
orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

identifier
required
string

Identifier of the SecretManager metadata.

required
object (SecretManagerMetadataRequestSpecDTO)

Spec of the Secret Manager.

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": [
    ]
}