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

  • https://anypoint.mulesoft.com/secrets-manager/api/{version}/organizations
  • https://{region}.anypoint.mulesoft.com/secrets-manager/api/{version}/organizations
  • https://{region}.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 By Organizationid deleteByOrganizationid

DELETE

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Deletes the organization

Response

Successful. Returns zero length body.

Delete By Organizationid Environments By Environmentid deleteByOrganizationidEnvironmentsByEnvironmentid

DELETE

Try it out

Path Parameters
Custom Query Parameters
Custom Headers
Deletes the environment

Path Parameters

Response

Successful. Returns zero length body.

Get By Organizationid Environments By Environmentid Operations getByOrganizationidEnvironmentsByEnvironmentidOperations

GET

Try it out

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

Path Parameters

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 } ]

Get By Organizationid Environments By Environmentid Secretgroups getByOrganizationidEnvironmentsByEnvironmentidSecretgroups

GET

Try it out

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

Path Parameters

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 By Organizationid Environments By Environmentid Secretgroups createByOrganizationidEnvironmentsByEnvironmentidSecretgroups

POST

Try it out

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

Path Parameters

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupid

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" } }

Patch By Organizationid Environments By Environmentid Secretgroups By Secretgroupid patchByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupid

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid deleteByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupid

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.

Update By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Lock updateByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidLock

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.

Delete By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Lock deleteByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidLock

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.

Create By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Clone createByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidClone

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" }

Delete By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Clone deleteByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidClone

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Grants createByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidGrants

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=" } ]

Get By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Certificates getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCertificates

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Certificates createByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCertificates

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Certificates By Secretid getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCertificatesBySecretid

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" }

Update By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Certificates By Secretid updateByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCertificatesBySecretid

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" }

Patch By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Certificates By Secretid patchByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCertificatesBySecretid

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" }

Get By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Truststores getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidTruststores

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Truststores createByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidTruststores

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Truststores By Secretid getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidTruststoresBySecretid

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
{}

Update By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Truststores By Secretid updateByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidTruststoresBySecretid

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" }

Patch By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Truststores By Secretid patchByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidTruststoresBySecretid

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" }

Get By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Keystores getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidKeystores

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Keystores createByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidKeystores

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Keystores By Secretid getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidKeystoresBySecretid

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
{}

Update By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Keystores By Secretid updateByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidKeystoresBySecretid

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" }

Patch By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Keystores By Secretid patchByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidKeystoresBySecretid

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" }

Get By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Certificatepinsets getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCertificatepinsets

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Certificatepinsets createByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCertificatepinsets

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Certificatepinsets By Secretid getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCertificatepinsetsBySecretid

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" }

Update By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Certificatepinsets By Secretid updateByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCertificatepinsetsBySecretid

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" }

Patch By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Certificatepinsets By Secretid patchByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCertificatepinsetsBySecretid

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" }

Get By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Sharedsecrets getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidSharedsecrets

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Sharedsecrets createByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidSharedsecrets

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Sharedsecrets By Secretid getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidSharedsecretsBySecretid

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
{}

Update By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Sharedsecrets By Secretid updateByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidSharedsecretsBySecretid

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" }

Patch By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Sharedsecrets By Secretid patchByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidSharedsecretsBySecretid

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" }

Get By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Tlscontexts getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidTlscontexts

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Tlscontexts createByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidTlscontexts

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Tlscontexts By Secretid getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidTlscontextsBySecretid

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
{}

Update By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Tlscontexts By Secretid updateByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidTlscontextsBySecretid

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" }

Patch By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Tlscontexts By Secretid patchByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidTlscontextsBySecretid

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" }

Get By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Crldistributorconfigs getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCrldistributorconfigs

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Crldistributorconfigs createByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCrldistributorconfigs

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 By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Crldistributorconfigs By Secretid getByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCrldistributorconfigsBySecretid

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" } }

Update By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Crldistributorconfigs By Secretid updateByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCrldistributorconfigsBySecretid

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" }

Patch By Organizationid Environments By Environmentid Secretgroups By Secretgroupid Crldistributorconfigs By Secretid patchByOrganizationidEnvironmentsByEnvironmentidSecretgroupsBySecretgroupidCrldistributorconfigsBySecretid

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" }

Create By Organizationid Environments By Environmentid Details Certificates createByOrganizationidEnvironmentsByEnvironmentidDetailsCertificates

POST

Try it out

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

Path Parameters

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

Create By Organizationid Environments By Environmentid Details Store createByOrganizationidEnvironmentsByEnvironmentidDetailsStore

POST

Try it out

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

Path Parameters

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