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
organizationId *:
string
The organization ID to identify the target resource.
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
Query Parameters
type:
string
The type query parameter.
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
Query Parameters
downloadable:
string
Filter and fetch list of secret groups based on value of 'downloadable' flag.
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
Request Body
jsonname *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$downloadable:
boolean
Setting this to true indicates that the secrets from this secret group are allowed to be downloadable by end users, altough, through other applications.
default:
FalseResponse
Resource created successfully.
id *:
string
maxLength: 50
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}
with id =
{secretId}
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Response
Successful operation.
name *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Request Body
jsonname:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$downloadable:
boolean
Setting this to true indicates that the secrets from this secret group are allowed to be downloadable by end users, altough, through other applications.
Response
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.
The amount of time required for this operation to complete is proportionate to the number of secrets in the secret group.
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Query Parameters
action *:
string
To indicate how the lock is being released, either as operation 'finish' or 'cancel'.
The amount of time required for this operation to complete increases, as the the number of secrets that were operated on after acquirirng the lock increases.
- finish = Indicates that the secret group editing is complete, and all draft changes (including additions) made since acquiring the lock, are to be committed.
- cancel = Indicates that the lock needs to be released and all of the draft changes (including additions) made since acquiring the lock should be discarded.
The amount of time required for this operation to complete increases, as the the number of secrets that were operated on after acquirirng the lock increases.
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Request Body
jsonname *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$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
Request accepted for processing.
id *:
string
Id of newly created secret group.
maxLength: 50
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Request Body
jsonpaths *:
array
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
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.
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Query Parameters
allowExpiredCert:
boolean
With 'true' to allow uploading expired certificates
default:
FalseRequest Body
multipart/form-dataexpirationDate:
string(date)
Date on which this secret should expire. If not set, by default, it will be set to notAfter date of this certificate. Once the secret expires, a grant can not be requested for it.
certStore *:
string(binary)
The file containing the certificate in PEM format
maxLength: 4096
name *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$type *:
string
Type of certificate supported
Response
Resource created successfully.
id *:
string
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$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}
with id =
{secretId}
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
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.
expirationDate *:
string(date)
meta *:
object
Metadata of a secret
name *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Query Parameters
allowExpiredCert:
boolean
With 'true' to allow uploading expired certificates
default:
FalseRequest Body
multipart/form-dataexpirationDate:
string(date)
Date on which this secret should expire. If not set, by default, it will be set to notAfter date of this certificate. Once the secret expires, a grant can not be requested for it.
certStore *:
string(binary)
The file containing the certificate in PEM format
maxLength: 4096
name *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$type *:
string
Type of certificate supported
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Request Body
jsonname:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$expirationDate:
string(date)
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
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
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Query Parameters
allowExpiredCert:
boolean
With 'true' to allow uploading expired certificates
default:
FalseRequest Body
multipart/form-dataResponse
Resource created successfully.
id *:
string
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$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}
with id =
{secretId}
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Query Parameters
allowExpiredCert:
boolean
With 'true' to allow uploading expired certificates
default:
FalseRequest Body
multipart/form-dataResponse
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Request Body
jsonname:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$expirationDate:
string(date)
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
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
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Query Parameters
allowExpiredCert:
boolean
With 'true' to allow uploading expired certificates
default:
FalseRequest Body
multipart/form-dataResponse
Resource created successfully.
id *:
string
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$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}
with id =
{secretId}
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Query Parameters
allowExpiredCert:
boolean
With 'true' to allow uploading expired certificates
default:
FalseRequest Body
multipart/form-dataResponse
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Request Body
jsonname:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$expirationDate:
string(date)
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
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.
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Query Parameters
allowExpiredCert:
boolean
With 'true' to allow uploading expired certificates
default:
FalseRequest Body
multipart/form-dataexpirationDate:
string(date)
Date on which this secret should expire. If not set, by default, it will be set to one year from the date on which this secret is created/updated. Once the secret expires, a grant can not be requested for it.
name *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$certificatePinset *:
string(binary)
File containing one or more concatenated CA certificates in PEM format
maxLength: 256000
Response
Resource created successfully.
id *:
string
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$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}
with id =
{secretId}
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
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.
expirationDate *:
string(date)
meta *:
object
Metadata of a secret
name *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Query Parameters
allowExpiredCert:
boolean
With 'true' to allow uploading expired certificates
default:
FalseRequest Body
multipart/form-dataexpirationDate:
string(date)
Date on which this secret should expire. If not set, by default, it will be set to one year from the date on which this secret is created/updated. Once the secret expires, a grant can not be requested for it.
name *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$certificatePinset *:
string(binary)
File containing one or more concatenated CA certificates in PEM format
maxLength: 256000
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Request Body
jsonname:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$expirationDate:
string(date)
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
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
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Request Body
jsonResponse
Resource created successfully.
id *:
string
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$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}
with id =
{secretId}
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Request Body
jsonResponse
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Request Body
jsonname:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$expirationDate:
string(date)
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
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.
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
Request Body
jsonexpirationDate:
string(date)
Date on which this secret should expire. If not set, by default, it will be set to one year from the date on which this secret is created/updated. Once the secret expires, a grant can not be requested for it.
completeCrlIssuerUrl *:
string
URL where complete CRL file should be retrieved
maxLength: 2048
frequency *:
integer
How frequently should the distributor site be checked for new crl files(in minutes)
min: 2, max: 1000
name *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$distributorCertificate *:
object
Refers to a secret of type certificate. This certificate is used to check integrity of retrieved CRL files. If not defined the retrieved CRL file will be used without signature verification step being performed.
deltaCrlIssuerUrl:
string
maxLength: 2048
caCertificate *:
object
Refers to a secret of type certificate. Select the CA certificate associated with the
retrieved CRL file. If selected, the retrieved CRL file may contain revoked and/or held
certificates issued by this CA. The CA subject name is obtained as part of the CRL file
that is retrieved. However, the CRL distributor that issued and signed the CRL file may
not be the issuing CA. If this CA certificate is encountered during chain-of-trust processing
then a CRL file for this CA must have been successfully retrieved, validated and still in affect
(not expired) or the chain-of trust processing fails depending on how the 'Require CRL for all CAs'
flag setting configured as described below.
retrieved CRL file. If selected, the retrieved CRL file may contain revoked and/or held
certificates issued by this CA. The CA subject name is obtained as part of the CRL file
that is retrieved. However, the CRL distributor that issued and signed the CRL file may
not be the issuing CA. If this CA certificate is encountered during chain-of-trust processing
then a CRL file for this CA must have been successfully retrieved, validated and still in affect
(not expired) or the chain-of trust processing fails depending on how the 'Require CRL for all CAs'
flag setting configured as described below.
- If the TLS Context secret has the 'Require CRL for all CAs' flag set to false, then the CA certificate should be selected. If not selected then prior to successful retrieval and processing of the CRL file there exists a window of time when a revoked CA certificate could be considered valid in chain-of-trust processing.
- Else if its set to true, then its not necessary to select the CA
Response
Resource created successfully.
id *:
string
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$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}
with id =
{secretId}
Path Parameters
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
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.
completeCrlIssuerUrl *:
string
URL from where complete CRL file is retrieved
frequency *:
integer
How frequently should the distributor site be checked for new crl files(in minutes)
min: 2, max: 1000
expirationDate *:
string(date)
meta *:
object
Metadata of a secret
name *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Request Body
jsonexpirationDate:
string(date)
Date on which this secret should expire. If not set, by default, it will be set to one year from the date on which this secret is created/updated. Once the secret expires, a grant can not be requested for it.
completeCrlIssuerUrl *:
string
URL where complete CRL file should be retrieved
maxLength: 2048
frequency *:
integer
How frequently should the distributor site be checked for new crl files(in minutes)
min: 2, max: 1000
name *:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$distributorCertificate *:
object
Refers to a secret of type certificate. This certificate is used to check integrity of retrieved CRL files. If not defined the retrieved CRL file will be used without signature verification step being performed.
deltaCrlIssuerUrl:
string
maxLength: 2048
caCertificate *:
object
Refers to a secret of type certificate. Select the CA certificate associated with the
retrieved CRL file. If selected, the retrieved CRL file may contain revoked and/or held
certificates issued by this CA. The CA subject name is obtained as part of the CRL file
that is retrieved. However, the CRL distributor that issued and signed the CRL file may
not be the issuing CA. If this CA certificate is encountered during chain-of-trust processing
then a CRL file for this CA must have been successfully retrieved, validated and still in affect
(not expired) or the chain-of trust processing fails depending on how the 'Require CRL for all CAs'
flag setting configured as described below.
retrieved CRL file. If selected, the retrieved CRL file may contain revoked and/or held
certificates issued by this CA. The CA subject name is obtained as part of the CRL file
that is retrieved. However, the CRL distributor that issued and signed the CRL file may
not be the issuing CA. If this CA certificate is encountered during chain-of-trust processing
then a CRL file for this CA must have been successfully retrieved, validated and still in affect
(not expired) or the chain-of trust processing fails depending on how the 'Require CRL for all CAs'
flag setting configured as described below.
- If the TLS Context secret has the 'Require CRL for all CAs' flag set to false, then the CA certificate should be selected. If not selected then prior to successful retrieval and processing of the CRL file there exists a window of time when a revoked CA certificate could be considered valid in chain-of-trust processing.
- Else if its set to true, then its not necessary to select the CA
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
secretGroupId *:
string
The secret group id, generated during creation of this secret group
maxLength: 50
Related Operations:
secretId *:
string
The secret ID to identify the target resource.
pattern:
^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$
Related Operations:
Request Body
jsonname:
string
minLength: 3, maxLength: 35, pattern:
^[a-zA-Z][-a-zA-Z0-9]*$expirationDate:
string(date)
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
Request Body
multipart/form-datafile *:
string(binary)
file to parse
maxLength: 256000
Response
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
organizationId *:
string
The organization ID to identify the target resource.
environmentId *:
string
The environment ID to identify the target resource.
Related Operations:
Request Body
multipart/form-datafile *:
string(binary)
file to parse
maxLength: 40960
storePassphrase *:
string
maxLength: 64
type *:
string
Response
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"
}
}
]
}
]
}