For the complete documentation index, see llms.txt. This page is also available as Markdown.

Secret Managers

This contains APIs related to SecretManagers as defined in Harness

Gets the metadata of Secret Manager

post
Query parameters
accountIdentifierstringRequired

Account Identifier for the Entity.

Body

This is the view of the SecretManagerMetadataRequest entity defined in Harness

encryptionTypestring · enumRequired

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

Possible values:
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
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?