Secrets Manager API

1.0.0

Overview

Statistics
50 Operations
0 Skills
Security Category
Manage keystores, truststores, certificates, TLS contexts, and shared secrets across environments in Anypoint Secrets Manager.

Servers

  • US https://anypoint.mulesoft.com/secrets-manager/api/{version}/organizations
  • EU https://eu1.anypoint.mulesoft.com/secrets-manager/api/{version}/organizations
  • CA https://ca1.platform.mulesoft.com/secrets-manager/api/{version}/organizations
  • JP https://jp1.platform.mulesoft.com/secrets-manager/api/{version}/organizations
  • IN https://in1.platform.mulesoft.com/secrets-manager/api/{version}/organizations
  • AU https://au1.platform.mulesoft.com/secrets-manager/api/{version}/organizations

Authentication & Security

  • bearerAuth http

    Bearer token authentication. Login endpoint: https://anypoint.mulesoft.com/accounts/api/login

  • clientAuth oauth2

    OAuth2 client credentials. Token endpoint: https://anypoint.mulesoft.com/accounts/api/v2/oauth2/token

Delete organization deleteOrganization

DELETE

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Deletes the organization

Path Parameters

Response

Successful. Returns zero length body.

Delete environment deleteEnvironment

DELETE

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Deletes the environment

Path Parameters

environmentId *: string

Response

Successful. Returns zero length body.

List operation statuses listOperations

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Retrieves a operations.

Path Parameters

environmentId *: string

Query Parameters

type: string
The type query parameter.

Response

json
Give information if a new request can be triggered or not for specific operation.
items: array
Array items
Examples
application/json
[ { "type": "clone", "canInitiateARequest": true } ]

List secret groups listSecretGroups

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get a list of secretGroups.

Path Parameters

environmentId *: string

Query Parameters

downloadable: string
Filter and fetch list of secret groups based on value of 'downloadable' flag.

Response

json
Successful operation.
items: array
Array items
Examples
application/json
[ { "id": "string", "type": "string" } ]

Create secret group createSecretGroup

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Create a new secretGroup.

Path Parameters

environmentId *: string

Request Body

json
name *: string
downloadable: boolean

Response

json
Resource created successfully.
id *: string
message *: string
Examples
application/json
{ "id": { "id": "string", "type": "string" }, "message": "string" }

Get secret group by ID getSecretGroupById

GET

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Get the secretGroup
with id =
{secretId}

Path Parameters

environmentId *: string
secretGroupId *: string

Response

json
Successful operation.
name *: string
downloadable *: boolean
Indicates whether the secrets from this secret group are allowed to be downloadable by end users, altough, through other applications.
meta *: object
Metadata of the secret group
Examples
application/json
{ "name": { "id": "string", "type": "string" }, "downloadable": true, "meta": { "id": "string", "type": "string" } }

Update secret group patchSecretGroup

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Operation to update name of this secret group.

Path Parameters

environmentId *: string
secretGroupId *: string

Request Body

json
name: string
downloadable: boolean

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

Delete secret group deleteSecretGroup

DELETE

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Deletes the secret group.

The amount of time required for this operation to complete is proportionate to the number of secrets in the secret group.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

force: boolean
Forcefully delete the secret group even if it contains shared secret(s) of type VDPContext.

Response

Operation completed successfully with no content returned.

Acquire secret group lock (deprecated) acquireSecretGroupLock

PUT

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
[Deprecated] For compatibility purpose, it always returns successful response.

Path Parameters

environmentId *: string
secretGroupId *: string

Response

Response to indicate operation completed successfully.

Release secret group lock (deprecated) releaseSecretGroupLock

DELETE

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
[Deprecated] For compatibility purpose, it always returns successful response.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

action *: string

Response

Response to indicate operation completed successfully.

Clone secret group cloneSecretGroup

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Request to clone this secret group.

Path Parameters

environmentId *: string
secretGroupId *: string

Request Body

json
name *: string
targetEnvId: string
Environment id of target where we want to create new secret group. If not set, by default, it will be set to source env id.

Response

json
Request accepted for processing.
id *: string
message *: string
Message indicating user to check back after some time
Examples
application/json
{ "message": "Request to clone secret group accepted successfully. Please check the status after some time.", "id": "6b40448d-d122-471b-ae0f-22c59f1b9589" }

Cancel secret group clone cancelSecretGroupClone

DELETE

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
To cancel the in-progress clone operation on the secret group, This can be performed on either source or target secret group.

Path Parameters

environmentId *: string
secretGroupId *: string

Response

json
Response to indicate cancel clone operation accepted successfully.
message *: string
Message indicating cancel clone request accepted successfully
Examples
application/json
{ "message": "Request to cancel the clone operation accepted successfully. Please check the status after some time." }

Create secret access grants createSecretGrants

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Returns an access grant for each of the secrets, along with corresponding secret path from the request body

Path Parameters

environmentId *: string
secretGroupId *: string

Request Body

json
paths *: array

Response

json
Successful operation.
items: array
List of access grants
Examples
application/json
[ { "path": "certificates/bc8746e1-23a1-41ad-87f9-fb8b08dc2385", "accessGrant": "QWNjZXNzSWQ9MjM0MzI0aGtmdHJraHV5dWl5JkV4cGlyZXM9MjUzODE1OTUwMCZTaWduYXR1cmU9Qmd5dHk1NjVnaGhqZ2RnZFJUWVJ0eXJibm1ibm1ibW5iWVR1eXR1eXQ1Njc1NiUyQm1XQlBxd2dVWWNPU3N6Q1BsZ1dSRWVGN29QR293a2VLazdnYXNoamdzZGhqZjU2NzU2N3NkZmpoa2p5dWl5ODc2c2RmODc2a2poZWpmaFJUdmdmZ2hUWVJnZ2ZvRGVBR25mekNkNGZUc1djTGJhbDlzRnBxWHNRSThJUWkxNDkzbXclM0Q=" }, { "path": "keystores/fc1579cf-a5ba-486f-925c-d537c22eff54", "accessGrant": "QWNjZXNzSWQ9MjM0MzI0aGtmdHJkZnV5dWl5JkV4cGlyZXM9MjUzODE1OTUwMCZTaWduYXR1cmU9Qmd5dHk1NjVnaGVyZ2RnZFJUWVJ0eXJibm1ibm1ibW5iWVR1eXR1eXQ1Njc1NiUyQm1XQlBxd2dVWWNPU3N6Q1BsZ1dSRWVGN29QR293a2VLazdnYXNoamdzZGhqZjU2NzU2N3NkZmpoa2p5dWl5ODc2c2RmODc2a2poZWpmaFJUdmdmZ2hUWVJnZ2ZvRGVBR25mekNkNGZUc1djTGJhbDlzRnBxWHNRSThJUWkxNDkzbXclM0Q=" } ]

List certificates listCertificates

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get a list of certificates.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

json
Successful operation.
items: array
Array items
Examples
application/json
[ { "id": "string", "type": "string" } ]

Create certificate createCertificate

POST

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Create a new certificate.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

allowExpiredCert: boolean

Request Body

multipart/form-data
expirationDate: string(date)
certStore *: string(binary)
name *: string
type *: string
Type of certificate supported

Response

json
Resource created successfully.
id *: string
message *: string
Examples
application/json
{ "id": { "id": "string", "type": "string" }, "message": "string" }

Get certificate by ID getCertificateById

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get the certificate
with id =
{secretId}

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

json
Successful operation.
expirationDate *: string(date)
meta *: object
Metadata of a secret
name *: string
details *: object
Details of the certificate
certificateFileName *: string
Name of certificate file uploaded
type *: string
Type of certificate supported
Examples
application/json
{ "expirationDate": "2024-01-15", "meta": { "id": "string", "type": "string" }, "name": { "id": "string", "type": "string" }, "details": { "subject": { "commonName": "string", "organizationUnit": "string", "organizationName": "string", "localityName": "string", "state": "string", "countryName": "string" }, "signatureAlgorithm": "string", "version": "string", "publicKeyAlgorithm": "string", "basicConstraints": { "certificateAuthority": true }, "certificateType": "string", "validity": { "notBefore": "string", "notAfter": "string" }, "issuer": { "commonName": "string", "organizationUnit": "string", "organizationName": "string", "localityName": "string", "state": "string", "countryName": "string" }, "keyUsage": [ "Digital Signature" ], "serialNumber": "string" }, "certificateFileName": "string", "type": "PEM" }

Replace certificate updateCertificate

PUT

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Replaces a certificates.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

allowExpiredCert: boolean

Request Body

multipart/form-data
expirationDate: string(date)
certStore *: string(binary)
name *: string
type *: string
Type of certificate supported

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

Update certificate patchCertificate

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Updates a certificates.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Request Body

json
name: string
expirationDate: string(date)

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

List truststores listTruststores

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get a list of truststores.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

type: string
Filter the elements on the response to be of a specific type from {PEM, JKS, JCEKS, PKCS12}
state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

json
Successful operation.
items: array
Array items
Examples
application/json
[ { "id": "string", "type": "string" } ]

Create truststore createTruststore

POST

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Create a new truststore.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

allowExpiredCert: boolean

Request Body

multipart/form-data

Response

json
Resource created successfully.
id *: string
message *: string
Examples
application/json
{ "id": { "id": "string", "type": "string" }, "message": "string" }

Get truststore by ID getTruststoreById

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get the truststore
with id =
{secretId}

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

Successful operation.
Examples
application/json
{}

Replace truststore updateTruststore

PUT

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Replaces a truststores.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

allowExpiredCert: boolean

Request Body

multipart/form-data

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

Update truststore patchTruststore

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Updates a truststores.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Request Body

json
name: string
expirationDate: string(date)

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

List keystores listKeystores

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get a list of keystores.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

type: string
Filter the elements on the response to be of a specific type from {PEM, JKS, JCEKS, PKCS12}
state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

json
Successful operation.
items: array
Array items
Examples
application/json
[ { "id": "string", "type": "string" } ]

Create keystore createKeystore

POST

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Create a new keystore.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

allowExpiredCert: boolean

Request Body

multipart/form-data

Response

json
Resource created successfully.
id *: string
message *: string
Examples
application/json
{ "id": { "id": "string", "type": "string" }, "message": "string" }

Get keystore by ID getKeystoreById

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get the keystore
with id =
{secretId}

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

Successful operation.
Examples
application/json
{}

Replace keystore updateKeystore

PUT

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Replaces a keystores.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

allowExpiredCert: boolean

Request Body

multipart/form-data

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

Update keystore patchKeystore

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Updates a keystores.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Request Body

json
name: string
expirationDate: string(date)

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

List certificate pinsets listCertificatePinsets

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get a list of certificatePinsets.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

json
Successful operation.
items: array
Array items
Examples
application/json
[ { "id": "string", "type": "string" } ]

Create certificate pinset createCertificatePinset

POST

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Create a new certificatePinset.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

allowExpiredCert: boolean

Request Body

multipart/form-data
expirationDate: string(date)
name *: string
certificatePinset *: string(binary)

Response

json
Resource created successfully.
id *: string
message *: string
Examples
application/json
{ "id": { "id": "string", "type": "string" }, "message": "string" }

Get certificate pinset by ID getCertificatePinsetById

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get the certificatePinset
with id =
{secretId}

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

json
Successful operation.
expirationDate *: string(date)
meta *: object
Metadata of a secret
name *: string
details *: array
certificatePinsetFileName *: string
Name of certifiacte pinset file uploaded
Examples
application/json
{ "expirationDate": "2024-01-15", "meta": { "id": "string", "type": "string" }, "name": { "id": "string", "type": "string" }, "details": [ { "subject": { "commonName": "string", "organizationUnit": "string", "organizationName": "string", "localityName": "string", "state": "string", "countryName": "string" }, "signatureAlgorithm": "string", "version": "string", "publicKeyAlgorithm": "string", "basicConstraints": { "certificateAuthority": true }, "certificateType": "string", "validity": { "notBefore": "string", "notAfter": "string" }, "issuer": { "commonName": "string", "organizationUnit": "string", "organizationName": "string", "localityName": "string", "state": "string", "countryName": "string" }, "keyUsage": [ "Digital Signature" ], "serialNumber": "string" } ], "certificatePinsetFileName": "string" }

Replace certificate pinset updateCertificatePinset

PUT

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Replaces a certificatePinsets.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

allowExpiredCert: boolean

Request Body

multipart/form-data
expirationDate: string(date)
name *: string
certificatePinset *: string(binary)

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

Update certificate pinset patchCertificatePinset

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Updates a certificatePinsets.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Request Body

json
name: string
expirationDate: string(date)

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

List shared secrets listSharedSecrets

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get a list of sharedSecrets.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

type: string
Filter the elements on the response to be of a specific type from {UsernamePassword, SymmetricKey, S3Credential, VDPContext, Blob}
state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

json
Successful operation.
items: array
Array items
Examples
application/json
[ { "id": "string", "type": "string" } ]

Create shared secret createSharedSecret

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Create a new sharedSecret.

Path Parameters

environmentId *: string
secretGroupId *: string

Request Body

json

Response

json
Resource created successfully.
id *: string
message *: string
Examples
application/json
{ "id": { "id": "string", "type": "string" }, "message": "string" }

Get shared secret by ID getSharedSecretById

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get the sharedSecret
with id =
{secretId}

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

Successful operation.
Examples
application/json
{}

Replace shared secret updateSharedSecret

PUT

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Update already created shared secrets. This operation is not allowed for VDPContext type.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Request Body

json

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

Update shared secret patchSharedSecret

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Updates a sharedSecrets.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Request Body

json
name: string
expirationDate: string(date)

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

List TLS contexts listTlsContexts

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get a list of tlsContexts.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

type: string
Filter the elements on the response to be of a specific type from {FlexGateway, Mule, SecurityFabric}
state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

json
Successful operation.
items: array
Array items
Examples
application/json
[ { "id": "string", "type": "string" } ]

Create TLS context createTlsContext

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Create a new tlsContext.

Path Parameters

environmentId *: string
secretGroupId *: string

Request Body

json

Response

json
Resource created successfully.
id *: string
message *: string
Examples
application/json
{ "id": { "id": "string", "type": "string" }, "message": "string" }

Get TLS context by ID getTlsContextById

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get the tlsContext
with id =
{secretId}

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

Successful operation.
Examples
application/json
{}

Replace TLS context updateTlsContext

PUT

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Replaces a tlsContexts.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Request Body

json

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

Update TLS context patchTlsContext

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Updates a tlsContexts.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Request Body

json
name: string
expirationDate: string(date)

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

List CRL distributor configs listCrlDistributorConfigs

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get a list of crlDistributorConfigs.

Path Parameters

environmentId *: string
secretGroupId *: string

Query Parameters

state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

json
Successful operation.
items: array
Array items
Examples
application/json
[ { "id": "string", "type": "string" } ]

Create CRL distributor config createCrlDistributorConfig

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Create a new crlDistributorConfig.

Path Parameters

environmentId *: string
secretGroupId *: string

Request Body

json
expirationDate: string(date)
completeCrlIssuerUrl *: string
frequency *: integer
name *: string
distributorCertificate *: object
deltaCrlIssuerUrl: string
caCertificate *: object

Response

json
Resource created successfully.
id *: string
message *: string
Examples
application/json
{ "id": { "id": "string", "type": "string" }, "message": "string" }

Get CRL distributor config by ID getCrlDistributorConfigById

GET

Try it out

Path Parameters
Query Parameters
Custom Query Parameters
Custom Headers
Get the crlDistributorConfig
with id =
{secretId}

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Query Parameters

state: string
Get the response which is built from the draft state. This is allowed only to the user who currently holds the lock on the containing secret group.

Response

json
Successful operation.
completeCrlIssuerUrl *: string
URL from where complete CRL file is retrieved
frequency *: integer
expirationDate *: string(date)
meta *: object
Metadata of a secret
name *: string
distributorCertificate *: object
Refers to secret of type certificate
deltaCrlIssuerUrl: string
URL from where the changes in CRL file can be retrieved
caCertificate *: object
Refers to secret of type certificate
Examples
application/json
{ "completeCrlIssuerUrl": "string", "frequency": 0, "expirationDate": "2024-01-15", "meta": { "id": "string", "type": "string" }, "name": { "id": "string", "type": "string" }, "distributorCertificate": { "path": "string", "modifiedAt": "string" }, "deltaCrlIssuerUrl": "string", "caCertificate": { "path": "string", "modifiedAt": "string" } }

Replace CRL distributor config updateCrlDistributorConfig

PUT

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Replaces a crlDistributorConfigs.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Request Body

json
expirationDate: string(date)
completeCrlIssuerUrl *: string
frequency *: integer
name *: string
distributorCertificate *: object
deltaCrlIssuerUrl: string
caCertificate *: object

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

Update CRL distributor config patchCrlDistributorConfig

PATCH

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body application/json
Updates a crlDistributorConfigs.

Path Parameters

environmentId *: string
secretGroupId *: string
secretId *: string

Request Body

json
name: string
expirationDate: string(date)

Response

json
Successful operation.
message *: string
Examples
application/json
{ "message": "string" }

Parse certificate file details parseCertificateDetails

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Creates a certificates.

Path Parameters

environmentId *: string

Request Body

multipart/form-data
file *: string(binary)

Response

json
Successful operation.
certificates: array
Examples
application/json
{ "certificates": [ { "issuer": { "commonName": "Acme Root" }, "subject": { "commonName": "Acme Root" }, "version": "3", "serialNumber": "2963503AF1E9B1DB00E2BE0B7BDAB4160FFA2C28", "subjectAlternativeName": [ "2", "internal.acme.com" ], "signatureAlgorithm": "SHA256withRSA", "publicKeyAlgorithm": "RSA", "basicConstraints": { "certificateAuthority": true }, "keyUsage": [ "Key CertSign", "CRL Sign" ], "certificateType": "X.509", "validity": { "notBefore": "2016-07-04T21:00:00", "notAfter": "2018-07-04T21:00:00" } }, { "issuer": { "commonName": "Acme Root" }, "subject": { "commonName": "Acme" }, "version": "3", "serialNumber": "9ABD5B470FE43B23575DC8F54AD4550FE26CB7C", "signatureAlgorithm": "SHA256withRSA", "publicKeyAlgorithm": "RSA", "basicConstraints": { "certificateAuthority": true }, "keyUsage": [ "Key CertSign", "CRL Sign" ], "certificateType": "X.509", "validity": { "notBefore": "2016-07-04T21:00:00", "notAfter": "2018-07-04T21:00:00" } } ] }

Parse keystore or truststore details parseStoreDetails

POST

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Request Body multipart/form-data
Creates a store.

Path Parameters

environmentId *: string

Request Body

multipart/form-data
file *: string(binary)
storePassphrase *: string
type *: string

Response

json
Successful operation.
entries: array
Examples
application/json
{ "entries": [ { "alias": "capath", "entryType": "Cert", "certificates": [ { "issuer": { "commonName": "Acme Root" }, "subject": { "commonName": "Acme Root" }, "version": "3", "serialNumber": "36469B2157E3942CB194285C60975C7F228ED2EA", "subjectAlternativeName": [ "2", "infrastructure.acme.com" ], "signatureAlgorithm": "SHA256withRSA", "publicKeyAlgorithm": "RSA", "basicConstraints": { "certificateAuthority": true }, "keyUsage": [ "Key CertSign", "CRL Sign" ], "certificateType": "X.509", "validity": { "notBefore": "2016-07-04T21:00:00", "notAfter": "2018-07-04T21:00:00" } } ] } ] }