# Create credential path Endpoint: POST /credential-paths Version: 5.1.41 Security: api_key ## Request fields (application/json): - `credentialPathName` (string) The name of the credential path. Example: "ExampleCredentialPath" - `description` (string) The description of the credential path. Example: "This CredentialPath example has HashiCorp credentialParameters. Example credentialParameter keys for other password vaults: CyberArk (queryString), GCP (versionId, projectId, usernameKey, passwordKey)" - `passwordVaultId` (integer) The ID of the password vault which contains this credential path. Example: 5 - `credentialParameters` (object) The parameters for this credential path. Example: {"engine":"my-secrets","path":"hello","usernameKey":"user","passwordKey":"pwd"} ## Response 201 fields (application/json): - `credentialPathId` (integer) The ID number of the credential path. This field is auto-generated by the Masking Engine. - `credentialPathName` (string) The name of the credential path. Example: "ExampleCredentialPath" - `description` (string) The description of the credential path. Example: "This CredentialPath example has HashiCorp credentialParameters. Example credentialParameter keys for other password vaults: CyberArk (queryString), GCP (versionId, projectId, usernameKey, passwordKey)" - `passwordVaultId` (integer) The ID of the password vault which contains this credential path. Example: 5 - `credentialParameters` (object) The parameters for this credential path. Example: {"engine":"my-secrets","path":"hello","usernameKey":"user","passwordKey":"pwd"} ## Response 400 fields ## Response 403 fields ## Response 404 fields ## Response 409 fields