Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
Create a Credential Example Request
Create a Credential Example Request
Create a Credential: Example Request


descriptionexportReleaseLevelexportTablenameopswiseGroups

Business Services that this record belongs to.
 
Format:
 
XML

 
JSON

<providerParameters> <providerParameter>

XML Request

JSON Request

Properties

UI Field Name

Description

Specifications

Required

Anchor
description - CREDdescription - CRED

Description

User-defined; description of this record.

N

Anchor
exportReleaseLevel - CREDexportReleaseLevel - CREDn/a

Universal Controller release that the record was exported from.

read onlyN
Anchor
exportTable - CREDexportTable - CREDn/aRecord table information.read onlyN
Anchor
name - CREDname - CRED

Name

Name used within the Controller to identify this Credential.

Maximum 40 alphanumerics.

Y

Anchor
opswiseGroups - CREDopswiseGroups - CRED

Member of Business Services

Panel
Panel

N

provider

Provider

Provider of credentials. 

Valid values (case-insensitive):

  • As String = Universal Controller, As Value = 1

  • As String = AWS Secrets Manager, As Value=2

  • As String = Azure Key Vault, As Value = 3

  • As String = CyberArk Credential Provider, As Value = 4

  • As String = CyberArk Central Credential Provider, As Value = 5

Default is Universal Controller (1).

N

providerParameters

Provider Parameters

Set of parameters specific to provider. See Provider Parameters for parameter details for each provider. 

Code Block
languagexml
titleXML
Expand
titleXML Request
<credential retainSysIds="true">
<description />
<name>test</name>
<opswiseGroups>
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <credential exportReleaseLevel="7.3.0.0" exportTable="ops_credentials" retainSysIds="true" version="28"> <description /> <name>AWS_Secrets_Manager</name> <opswiseGroup>bs1<<opswiseGroups/opswiseGroup>
> <provider>AWS Secrets <opswiseGroup>bs2</opswiseGroup>
Manager</provider> <providerParameters> </opswiseGroups>
<runtimeKeyLocation />
<providerParameter> <runtimePassPhrase />
<runtimePassword>test</runtimePassword>
<runtimeToken>c89e7b2caf4247909bc46041df8a2643</runtimeToken>
<name>ACCESS_KEY_ID</name> <runtimeUser>test</runtimeUser>
<sysId>36208a27bda64312a854985314922953</sysId>
<type>Standard</type> </credential>
Expand
titleJSON Request
{
  "description": "Testing",
  "name": "test",
  "opswiseGroups": [<value>*****</value>
        </providerParameter>
        <providerParameter>
"bs1",     "bs2"   ],   "retainSysIds": true, <name>SECRET_ACCESS_KEY</name>
  "runtimeKeyLocation": null,   "runtimePassPhrase": null,   "runtimePassword": "test",
"runtimeToken": "c89e7b2caf4247909bc46041df8a2643",
"runtimeUser": "test",
"sysId": "6e9791f0d0f541339dad3202e806276f",
"type": "Standard"
}

...

CyberArk Credential Provider

...

Provider Parameter

...

Required

...

Description

...

Provider Parameter

...

Required

...

Description

...

APPLICATION_ID

...

true

...

The unique ID of the application issuing the password request.

...

SAFE

...

true

...

The name of the Safe where the password is stored.

...

FOLDER

...

true

...

The name of the folder where the password is stored.

...

OBJECT

...

true

...

The name of the password object to retrieve.

...

REASON

...

false

...

The reason for retrieving the password.

...

CACHE_TTL

...

false

...

The TTL (Time To Live), in seconds, for the cached secret before a new request to the provider is made. (default 5

CyberArk Central Credential Provider

...

Provider Parameter

...

Required

...

Description

...

HOST

...

true

...

The hostname of the Central Credential Provider.

...

PORT

...

true

...

The port of the Central Credential Provider.

...

APPLICATION_ID

...

true

...

The unique ID of the application issuing the password request.

...

SAFE

...

true

...

The name of the Safe where the password is stored.

...

FOLDER

...

true

...

The name of the folder where the password is stored.

...

OBJECT

...

true

...

The name of the password object to retrieve.

...

CACHE_TTL

...

false

...

The TTL (Time To Live), in seconds, for the cached secret before a new request to the provider is made. (default 5 seconds)

...

Description

...

URI

...

HTTP Method

...

DELETE

...

Description

...

Deletes a Credential.

...

URI Parameters

...

See Delete a Credential: URI Parameters, below.

...

Example URI

...

Example Response

...

  • Status 200 /OK
    Credential deleted successfully.
  • Status 400 /Bad Request
    Mutual exclusion violation. Cannot specify credentialname and credentialid at the same time.
  • Status 404 /Not Found
    A credential with {name/id} "test" does not exist.

...

Parameter

...

Description

...

Specifications

...

Required

...

Mutually Exclusive With

...

credentialid

...

ID used within the Controller to identify this Credential.

...

String; URI parameter.

...

Y
(unless credentialname
is specified)

...

credentialname

...

credentialname

...

Name used within the Controller to identify this Credential.

...

String; URI parameter.

...

Y
(unless credentialid
is specified)

...

credentialid

...

Description

...

URI

...

HTTP Method

...

GET

...

Description

...

Retrieves information on all Credentials.

...

Example URI

...

Authentication

...

HTTP Basic

...

Consumes Content-Type

...

n/a

...

Produces Content-Type

...

application/xml, application/json

...

Example Response

...

See List Credentials: Example Response, below.

...

Properties

...

See Credential Properties.

...

XML Response

...

JSON Response

...

titleXML Response
<credentials>
   <credential exportReleaseLevel="7.2.0.0" exportTable="ops_credentials" version="1">
	<description />
	<name>test</name>
	<opswiseGroups>
		<opswiseGroup>bs1</opswiseGroup>
		<opswiseGroup>bs2</opswiseGroup>
	</opswiseGroups>
	<runtimeKeyLocation />
	<runtimeUser>ops.admin</runtimeUser>
	<sysId>36208a27bda64312a854985314922953</sysId>
	<type>Standard</type>
   </credential>
   <credential exportReleaseLevel="7.2.0.0" exportTable="ops_credentials" version="1">
	<description />
	<name>test 2</name>
	<opswiseGroups>
		<opswiseGroup>bs1</opswiseGroup>
		<opswiseGroup>bs2</opswiseGroup>
	</opswiseGroups>
	<runtimeKeyLocation />
	<runtimeUser>ops.admin2</runtimeUser>
	<sysId>36208a27bda64312a854985314922954</sysId>
	<type>Standard</type>
   </credential>
</credentials>

...

titleJSON Response
[ {
  "description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": ops_credentials",
"name": "test", "opswiseGroups": ["bs1","bs2"], "runtimeKeyLocation": null, "runtimeUser": "test", "sysId": "6e9791f0d0f541339dad3202e806276f", "type": "Standard", "version": 1 }, { "description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": ops_credentials",
"name": "test 2", "opswiseGroups": ["bs1","bs2"], "runtimeKeyLocation": null, "runtimeUser": "test 2", "sysId": "6e9791f0d0f541339dad3202e806276g", "type": "Standard", "version": 1 } ]

...

Description

...

URI

...

HTTP Method

...

PUT

...

Description

...

Modifies the Credential specified by the sysId.

...

Example URI

...

Consumes Content-Type

...

application/xml, application/json

...

Produces Content-Type

...

n/a

...

Example Request

...

See Modify a Credential: Example Request, below.

...

Properties

...

See Credential Properties.

...

Example Response

...

  • Status 200 /OK
    Successfully updated the credential with sysId <sysId> to version <version>.

...

XML Request

...

JSON Request

...

titleXML Request
 <credential>
	<description>Testing/description>
	<name>test</name>
	<opswiseGroups>
		<opswiseGroup>bs1</opswiseGroup>
		<opswiseGroup>bs2</opswiseGroup>
	</opswiseGroups>
	<runtimeKeyLocation />
	<runtimePassPhrase />
	<runtimePassword>ops.admin</runtimePassword>
	<runtimeUser>test</runtimeUser>
	<sysId>36208a27bda64312a854985314922953</sysId>
	<type>Standard</type>
</credential>

...

titleJSON Request
{
  "description": "Testing",
  "name": "test",
  "opswiseGroups": [
    "bs1",
    "bs2"
  ],
  "runtimeKeyLocation": null,
  "runtimePassPhrase": null,
  "runtimePassword": "test",
  "runtimeUser": "test",
  "sysId": "6e9791f0d0f541339dad3202e806276f",
  "type": "Standard"
}

...

URI

...

HTTP Method

...

GET

...

Description

...

Retrieves information on a specific Credential.

...

URI Parameters

...

See Read a Credential: URI Parameters, below.

...

Example URI

...

...

Consumes Content-Type

...

n/a

...

Produces Content-Type

...

application/xml, application/json

...

Example Response

...

See Read a Credential: Example Response, below.

...

Properties

...

See Credential Properties.

...

Parameter

...

Description

...

Specifications

...

Required

...

Mutually Exclusive With

...

credentialid

...

ID used within the Controller to identify this Credential.

...

String; URI parameter.

...

Y
(unless credentialname
is specified)

...

credentialname

...

credentialname

...

Name used within the Controller to identify this Credential.

...

String; URI parameter.

...

Y
(unless credentialid
is specified)

...

credentialid

...

<name>PARAMETER_1<name><value>VALUE_1<value>providerParameter><providerParameter> <name>PARAMETER_2</name> <value>VALUE_2</value><providerParameter>providerParameters>language"providerParameters": [ { "name": "PARAMETER_1", "valueVALUE1 }, { PARAMETER2 value"VALUE_2" } ] retainSysIds

Specification for whether or not the Create a Credential web service will persist the sysId property.

XML Response

JSON Response

  <value>*****</value>
        </providerParameter>
        <providerParameter>
            <name>REGION</name>
            <value>us-east-1</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_ID</name>
            <value>arn:aws:secretsmanager:us-east-1:792840030488:secret:uc-e6wnD3</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_PASSWORD_KEY</name>
            <value>password</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_PASSPHRASE_KEY</name>
            <value></value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_TOKEN_KEY</name>
            
<value></
value>
        
</
providerParameter>
    </
providerParameters>
    
<runtimeKeyLocation />
    
<runtimeUser>secret</runtimeUser>
    
<sysId>f71d4960469840c2ac3734962405bedd</sysId>
    
<type>Standard</
type>
</
credential>
Code Block
Expand
xml
titleJSON
Request
{
    "description": null,
    "exportReleaseLevel": "7.3.0.0",
    "exportTable": "
ops_
credentials",
    "name": "
AWS_Secrets_
Manager",
   
 "
opswiseGroups": 

Y
(if provider is not Universal Controller)

Anchor
retainSysIds - CREDretainSysIds - CRED

n/a

Note
titleNote

In XML web services, retainSysIds is specified as an attribute in the <credential> element.

Optional; Valid values: true/false (default is true).

N

AnchorruntimeKeyLocation - CREDruntimeKeyLocation - CREDruntimeKeyLocation

Key Location (SFTP only)

Using SFTP requires that you supply a valid credential that specifies the location of the SSL/TLS Private key on your Agent. This property provides the location, which must exist on the Agent where you intend to run the SFTP task. Currently, the Controller does not support password authentication for SFTP Transfer.
 
For File Transfer over SSL/TLS, make sure you have your private/public keys properly set up and working before you configure the Controller to use it. For example, to validate the keys, log into your destination server from your agent server using SSL/TLS.

N

AnchorruntimePassPhrase - CREDruntimePassPhrase - CREDruntimePassPhrase

Pass Phrase (SFTP only)

Pass phrase for the Runtime User's SSL/TLS Private key file.

N

AnchorruntimePassword - CREDruntimePassword - CREDruntimePassword

Runtime Password

Runtime user's password.

  • If runtimePassword is omitted in the request, it will be ignored.
  • If runtimePassword is provided in the request, it will be updated.

N

AnchorruntimeToken - CREDruntimeToken - CREDruntimeToken

Token

Runtime user Token that can be used with the ${_credentialToken(credential_name)} function.

  • If runtimeToken is omitted in the request, it will be ignored.
  • If runtimeToken is provided in the request, it will be updated.

N

AnchorruntimeUser - CREDruntimeUser - CREDruntimeUser

Runtime User

Runtime user ID, including an LDAP- or AD-formatted user ID, under which the job will be run.

Y

AnchorsysId - CREDsysId - CREDsysId

n/a

System ID field in the database for this Credential record.

Persisted only if retainSysIds is set to true.

N

Anchortype - CREDtype - CREDtype

Type

Type of Credential.
 

Note
titleNote:

You cannot modify the type after the Credential has been created, but you can convert any Credential type to any other type.

Valid Values:

Default is Standard (1).

N

Provider Parameters 

Note

Like other password type property, if a provider parameter is secure, its value will not be exposed in the GET response (if the parameter is a secure one, xml: no <value> property; json: "value": null). However, you can manually add it to the PUT/POST request to update the value.

AWS Secrets Manager

...

Provider Parameter

...

Required

...

Description

...

ACCESS_KEY_ID

...

true

...

The AWS access key, used to identify the user interacting with AWS.

...

SECRET_ACCESS_KEY

...

true

...

The AWS secret access key, used to authenticate the user interacting with AWS.

...

REGION

...

true

...

The region name (e.g., us-east-1).

...

SECRET_ID

...

true

...

The ARN or name of the secret to retrieve.

...

SECRET_PASSWORD_KEY

...

false

...

If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.

Specifies the key for the password in the JSON structure.

  • If left unspecified, the password will evaluate to the entire secret value.

...

SECRET_PASSPHRASE_KEY

...

false

...

Specifies the key for the passphrase in the JSON structure.

  • If left unspecified, the passphrase will be undefined.

...

SECRET_TOKEN_KEY

...

false

...

Specifies the key for the token in the JSON structure.

  • If left unspecified, the token will be undefined.

...

CACHE_TTL

...

false

...

The TTL (Time To Live), in seconds, for the cached secret before a new request to the provider is made. (default 3600 seconds / 1 hour)

Azure Key Vault

...

Provider Parameter

...

Required

...

Description

...

KEY_VAULT_NAME

...

true

...

The name of the Key Vault used to build the vault URL to send HTTP requests to.

...

SECRET_NAME

...

true

...

The name of the secret.

...

CLIENT_ID

...

true

...

The client (application) ID.

...

TENANT_ID

...

true

...

The Azure Active Directory tenant (directory) Id.

...

CLIENT_SECRET

...

The client secret used to authenticate.

  • Only one of CLIENT_SECRET, CLIENT_ASSERTION, PEM_CERTIFICATE, or PFX_CERTIFICATE can be specified.

...

CLIENT_ASSERTION

...

The client assertion used to authenticate.

  • Only one of CLIENT_SECRET, CLIENT_ASSERTION, PEM_CERTIFICATE, or PFX_CERTIFICATE can be specified.

...

PEM_CERTIFICATE

...

The path of the PEM certificate used for authenticating.

  • Only one of CLIENT_SECRET, CLIENT_ASSERTION, PEM_CERTIFICATE, or PFX_CERTIFICATE can be specified.

...

PFX_CERTIFICATE

...

The path of the PFX certificate used for authenticating.

  • Only one of CLIENT_SECRET, CLIENT_ASSERTION, PEM_CERTIFICATE, or PFX_CERTIFICATE can be specified.

...

PFX_CERTIFICATE_PASSWORD

...

The password for the PFX certificate.

  • Required if the PFX_CERTIFICATE is specified.

...

CACHE_TTL

...

false

...

The TTL (Time To Live), in seconds, for the cached secret before a new request to the provider is made. (default 28800 seconds / 8 hours)

 <credential exportReleaseLevel="7.2.0.0" exportTable="ops_credentials" retainSysIds="true" version="1">
	<description />
	<name>test</name>
	<opswiseGroups>
		<opswiseGroup>bs1</opswiseGroup>
		<opswiseGroup>bs2</opswiseGroup>
	</opswiseGroups>
	<runtimeKeyLocation />
	<runtimeUser>ops.admin</runtimeUser>
	<sysId>36208a27bda64312a854985314922953</sysId>
	<type>Standard</type>
</credential>
Expand
titleXML Response
Expand
titleJSON Response
{
  "description": null,
"exportReleaseLevel": "7.2.0.0",
"exportTable": ops_credentials",
"name": "test", "opswiseGroups": ["bs1","bs2"], "retainSysIds": true, "runtimeKeyLocation": null, "runtimeUser": "test", "sysId": "6e9791f0d0f541339dad3202e806276f", [], "provider": "AWS Secrets Manager", "providerParameters": [ { "name": "ACCESS_KEY_ID", "value": "*****" }, { "name": "SECRET_ACCESS_KEY", "value": "*****" }, { "name": "REGION", "value": "us-east-1" }, { "name": "SECRET_ID", "value": "arn:aws:secretsmanager:us-east-1:792840030488:secret:uc-e6wnD3" }, { "name": "SECRET_PASSWORD_KEY", "value": "password" }, { "name": "SECRET_PASSPHRASE_KEY", "value": "" }, { "name": "SECRET_TOKEN_KEY", "value": "" } ], "retainSysIds": true, "runtimeKeyLocation": null, "runtimeUser": "secret", "sysId": "f71d4960469840c2ac3734962405bedd", "type": "Standard", "version": 28 }

Anchor
Credential Properties
Credential Properties
Credential Properties

Properties

UI Field Name

Description

Specifications

Required

Anchor
description - CRED
description - CRED
description

Description

User-defined; description of this record.


N

Anchor
exportReleaseLevel - CRED
exportReleaseLevel - CRED
exportReleaseLevel

n/a

Universal Controller release that the record was exported from.

read onlyN

Anchor
exportTable - CRED
exportTable - CRED
exportTable

n/aRecord table information.read onlyN

Anchor
name - CRED
name - CRED
name

Name

Name used within the Controller to identify this Credential.

Maximum 40 alphanumerics.

Y

Anchor
opswiseGroups - CRED
opswiseGroups - CRED
opswiseGroups

Member of Business Services

Business Services that this record belongs to.
 
Format:
 
XML


Panel


 
JSON


Panel


N

provider

Provider

Provider of credentials. 

Valid values (case-insensitive):

  • As String = Universal Controller, As Value = 1

  • As String = AWS Secrets Manager, As Value=2

  • As String = Azure Key Vault, As Value = 3

  • As String = CyberArk Credential Provider, As Value = 4

  • As String = CyberArk Central Credential Provider, As Value = 5

Default is Universal Controller (1).

N

providerParameters

Provider Parameters

Set of parameters specific to provider. See Provider Parameters for parameter details for each provider. 



Code Block
languagexml
titleXML
<providerParameters>
    <providerParameter>
        <name>PARAMETER_1</name>
        <value>VALUE_1</value>
    </providerParameter>
    <providerParameter>
        <name>PARAMETER_2</name>
        <value>VALUE_2</value>
    </providerParameter>
</providerParameters>
Code Block
languagexml
titleJSON
"providerParameters": [
	{
		"name": "PARAMETER_1",
		"value": "VALUE_1"
	},
	{
		"name": "PARAMETER_2",
		"value": "VALUE_2"
	}
]

Y
(if provider is not Universal Controller)

Anchor
retainSysIds - CRED
retainSysIds - CRED
retainSysIds

n/a

Specification for whether or not the Create a Credential web service will persist the sysId property.




Note
titleNote

In XML web services, retainSysIds is specified as an attribute in the <credential> element.

Optional; Valid values: true/false (default is true).

N

Anchor
runtimeKeyLocation - CRED
runtimeKeyLocation - CRED
runtimeKeyLocation

Key Location (SFTP only)

Using SFTP requires that you supply a valid credential that specifies the location of the SSL/TLS Private key on your Agent. This property provides the location, which must exist on the Agent where you intend to run the SFTP task. Currently, the Controller does not support password authentication for SFTP Transfer.
 
For File Transfer over SSL/TLS, make sure you have your private/public keys properly set up and working before you configure the Controller to use it. For example, to validate the keys, log into your destination server from your agent server using SSL/TLS.


N

Anchor
runtimePassPhrase - CRED
runtimePassPhrase - CRED
runtimePassPhrase

Pass Phrase (SFTP only)

Pass phrase for the Runtime User's SSL/TLS Private key file.


N

Anchor
runtimePassword - CRED
runtimePassword - CRED
runtimePassword

Runtime Password

Runtime user's password.

  • If runtimePassword is omitted in the request, it will be ignored.
  • If runtimePassword is provided in the request, it will be updated.

N

Anchor
runtimeToken - CRED
runtimeToken - CRED
runtimeToken

Token

Runtime user Token that can be used with the ${_credentialToken(credential_name)} function.


  • If runtimeToken is omitted in the request, it will be ignored.
  • If runtimeToken is provided in the request, it will be updated.

N

Anchor
runtimeUser - CRED
runtimeUser - CRED
runtimeUser

Runtime User

Runtime user ID, including an LDAP- or AD-formatted user ID, under which the job will be run.


Y

Anchor
sysId - CRED
sysId - CRED
sysId

n/a

System ID field in the database for this Credential record.

Persisted only if retainSysIds is set to true.

N

Anchor
type - CRED
type - CRED
type

Type

Type of Credential.
 


Note
titleNote:

You cannot modify the type after the Credential has been created, but you can convert any Credential type to any other type.

Valid Values:



Default is Standard (1).

N

Provider Parameters 

Note

Like other password type property, if a provider parameter is secure, its value will not be exposed in the GET response (if the parameter is a secure one, xml: no <value> property; json: "value": null). However, you can manually add it to the PUT/POST request to update the value.


AWS Secrets Manager

Provider Parameter

Required

Description

ACCESS_KEY_ID

true

The AWS access key, used to identify the user interacting with AWS.

SECRET_ACCESS_KEY

true

The AWS secret access key, used to authenticate the user interacting with AWS.

REGION

true

The region name (e.g., us-east-1).

SECRET_ID

true

The ARN or name of the secret to retrieve.

SECRET_PASSWORD_KEY

false

If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.

Specifies the key for the password in the JSON structure.

  • If left unspecified, the password will evaluate to the entire secret value.

SECRET_PASSPHRASE_KEY

false

Specifies the key for the passphrase in the JSON structure.

  • If left unspecified, the passphrase will be undefined.

SECRET_TOKEN_KEY

false

Specifies the key for the token in the JSON structure.

  • If left unspecified, the token will be undefined.

CACHE_TTL

false

The TTL (Time To Live), in seconds, for the cached secret before a new request to the provider is made. (default 3600 seconds / 1 hour)

Azure Key Vault

Provider Parameter

Required

Description

KEY_VAULT_NAME

true

The name of the Key Vault used to build the vault URL to send HTTP requests to.

SECRET_NAME

true

The name of the secret.

CLIENT_ID

true

The client (application) ID.

TENANT_ID

true

The Azure Active Directory tenant (directory) Id.

CLIENT_SECRET


The client secret used to authenticate.

  • Only one of CLIENT_SECRET, CLIENT_ASSERTION, PEM_CERTIFICATE, or PFX_CERTIFICATE can be specified.

CLIENT_ASSERTION


The client assertion used to authenticate.

  • Only one of CLIENT_SECRET, CLIENT_ASSERTION, PEM_CERTIFICATE, or PFX_CERTIFICATE can be specified.

PEM_CERTIFICATE


The path of the PEM certificate used for authenticating.

  • Only one of CLIENT_SECRET, CLIENT_ASSERTION, PEM_CERTIFICATE, or PFX_CERTIFICATE can be specified.

PFX_CERTIFICATE


The path of the PFX certificate used for authenticating.

  • Only one of CLIENT_SECRET, CLIENT_ASSERTION, PEM_CERTIFICATE, or PFX_CERTIFICATE can be specified.

PFX_CERTIFICATE_PASSWORD


The password for the PFX certificate.

  • Required if the PFX_CERTIFICATE is specified.

CACHE_TTL

false

The TTL (Time To Live), in seconds, for the cached secret before a new request to the provider is made. (default 28800 seconds / 8 hours)

CyberArk Credential Provider

Provider Parameter

Required

Description

Provider Parameter

Required

Description

APPLICATION_ID

true

The unique ID of the application issuing the password request.

SAFE

true

The name of the Safe where the password is stored.

FOLDER

true

The name of the folder where the password is stored.

OBJECT

true

The name of the password object to retrieve.

REASON

false

The reason for retrieving the password.

CACHE_TTL

false

The TTL (Time To Live), in seconds, for the cached secret before a new request to the provider is made. (default 5

CyberArk Central Credential Provider

Provider Parameter

Required

Description

HOST

true

The hostname of the Central Credential Provider.

PORT

true

The port of the Central Credential Provider.

APPLICATION_ID

true

The unique ID of the application issuing the password request.

SAFE

true

The name of the Safe where the password is stored.

FOLDER

true

The name of the folder where the password is stored.

OBJECT

true

The name of the password object to retrieve.

CACHE_TTL

false

The TTL (Time To Live), in seconds, for the cached secret before a new request to the provider is made. (default 5 seconds)

Anchor
Delete a Credential
Delete a Credential
Delete a Credential


Description

URI

http://host_name/uc/resources/credential

HTTP Method

DELETE

Description

Deletes a Credential.

URI Parameters

See Delete a Credential: URI Parameters, below.

Example URI

http://localhost:8080/uc/resources/credential?credentialname=test

Example Response

  • Status 200 /OK
    Credential deleted successfully.
  • Status 400 /Bad Request
    Mutual exclusion violation. Cannot specify credentialname and credentialid at the same time.
  • Status 404 /Not Found
    A credential with {name/id} "test" does not exist.

Anchor
Delete a Credential URI Parameters
Delete a Credential URI Parameters
Delete a Credential: URI Parameters

Parameter

Description

Specifications

Required

Mutually Exclusive With

credentialid

ID used within the Controller to identify this Credential.

String; URI parameter.

Y
(unless credentialname
is specified)

credentialname

credentialname

Name used within the Controller to identify this Credential.

String; URI parameter.

Y
(unless credentialid
is specified)

credentialid

Anchor
List Credentials
List Credentials
List Credentials


Description

URI

http://host_name/uc/resources/credential/list

HTTP Method

GET

Description

Retrieves information on all Credentials.

Example URI

http://localhost:8080/uc/resources/credential/list

Authentication

HTTP Basic

Consumes Content-Type

n/a

Produces Content-Type

application/xml, application/json

Example Response

See List Credentials: Example Response, below.

Properties

See Credential Properties.

Anchor
List Credentials Example Response
List Credentials Example Response
List Credentials: Example Response

XML Response

JSON Response

Expand
titleXML Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<credential exportReleaseLevel="7.3.0.0" exportTable="ops_credentials" retainSysIds="true" version="28">
    <description />
    <name>AWS_Secrets_Manager</name>
    <opswiseGroups/>
    <provider>AWS Secrets Manager</provider>
    <providerParameters>
        <providerParameter>
            <name>ACCESS_KEY_ID</name>
        </providerParameter>
        <providerParameter>
            <name>SECRET_ACCESS_KEY</name>
        </providerParameter>
        <providerParameter>
            <name>REGION</name>
            <value>us-east-1</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_ID</name>
            <value>arn:aws:secretsmanager:us-east-1:792840030488:secret:uc-e6wnD3</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_PASSWORD_KEY</name>
            <value>password</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_PASSPHRASE_KEY</name>
            <value></value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_TOKEN_KEY</name>
            <value></value>
        </providerParameter>
    </providerParameters>
    <runtimeKeyLocation />
    <runtimeUser>secret</runtimeUser>
    <sysId>f71d4960469840c2ac3734962405bedd</sysId>
    <type>Standard</type>
</credential>
Expand
titleJSON Response
{
    "description": null,
    "exportReleaseLevel": "7.3.0.0",
    "exportTable": "ops_credentials",
    "name": "AWS_Secrets_Manager",
    "opswiseGroups": [],
    "provider": "AWS Secrets Manager",
    "providerParameters": [
        {
            "name": "ACCESS_KEY_ID",
            "value": null
        },
        {
            "name": "SECRET_ACCESS_KEY",
            "value": null
        },
        {
            "name": "REGION",
            "value": "us-east-1"
        },
        {
            "name": "SECRET_ID",
            "value": "arn:aws:secretsmanager:us-east-1:792840030488:secret:uc-e6wnD3"
        },
        {
            "name": "SECRET_PASSWORD_KEY",
            "value": "password"
        },
        {
            "name": "SECRET_PASSPHRASE_KEY",
            "value": ""
        },
        {
            "name": "SECRET_TOKEN_KEY",
            "value": ""
        }
    ],
    "retainSysIds": true,
    "runtimeKeyLocation": null,
    "runtimeUser": "secret",
    "sysId": "f71d4960469840c2ac3734962405bedd",
    "type": "Standard",
    "version": 28
}

Anchor
Modify a Credential
Modify a Credential
Modify a Credential


Description

URI

http://host_name/uc/resources/credential

HTTP Method

PUT

Description

Modifies the Credential specified by the sysId.

Example URI

http://localhost:8080/uc/resources/credential

Consumes Content-Type

application/xml, application/json

Produces Content-Type

n/a

Example Request

See Modify a Credential: Example Request, below.

Properties

See Credential Properties.

Example Response

  • Status 200 /OK
    Successfully updated the credential with sysId <sysId> to version <version>.

Anchor
Modify a Credential Example Request
Modify a Credential Example Request
Modify a Credential: Example Request

XML Request

JSON Request

Expand
titleXML Request
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<credential exportReleaseLevel="7.3.0.0" exportTable="ops_credentials" retainSysIds="true" version="28">
    <description />
    <name>AWS_Secrets_Manager</name>
    <opswiseGroups/>
    <provider>AWS Secrets Manager</provider>
    <providerParameters>
        <providerParameter>
            <name>ACCESS_KEY_ID</name>
            <value>*****</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_ACCESS_KEY</name>
            <value>*****</value>
        </providerParameter>
        <providerParameter>
            <name>REGION</name>
            <value>us-east-1</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_ID</name>
            <value>arn:aws:secretsmanager:us-east-1:792840030488:secret:uc-e6wnD3</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_PASSWORD_KEY</name>
            <value>password</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_PASSPHRASE_KEY</name>
            <value></value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_TOKEN_KEY</name>
            <value></value>
        </providerParameter>
    </providerParameters>
    <runtimeKeyLocation />
    <runtimeUser>secret</runtimeUser>
    <sysId>f71d4960469840c2ac3734962405bedd</sysId>
    <type>Standard</type>
</credential>
Expand
titleJSON Request
{
    "description": null,
    "exportReleaseLevel": "7.3.0.0",
    "exportTable": "ops_credentials",
    "name": "AWS_Secrets_Manager",
    "opswiseGroups": [],
    "provider": "AWS Secrets Manager",
    "providerParameters": [
        {
            "name": "ACCESS_KEY_ID",
            "value": "*****"
        },
        {
            "name": "SECRET_ACCESS_KEY",
            "value": "*****"
        },
        {
            "name": "REGION",
            "value": "us-east-1"
        },
        {
            "name": "SECRET_ID",
            "value": "arn:aws:secretsmanager:us-east-1:792840030488:secret:uc-e6wnD3"
        },
        {
            "name": "SECRET_PASSWORD_KEY",
            "value": "password"
        },
        {
            "name": "SECRET_PASSPHRASE_KEY",
            "value": ""
        },
        {
            "name": "SECRET_TOKEN_KEY",
            "value": ""
        }
    ],
    "retainSysIds": true,
    "runtimeKeyLocation": null,
    "runtimeUser": "secret",
    "sysId": "f71d4960469840c2ac3734962405bedd",
    "type": "Standard",
    "version": 28
}



Anchor
Read a Credential
Read a Credential
Read a Credential

URI

http://host_name/uc/resources/credential

HTTP Method

GET

Description

Retrieves information on a specific Credential.

URI Parameters

See Read a Credential: URI Parameters, below.

Example URI

Consumes Content-Type

n/a

Produces Content-Type

application/xml, application/json

Example Response

See Read a Credential: Example Response, below.

Properties

See Credential Properties.

Anchor
Read a Credential URI Parameters
Read a Credential URI Parameters
Read a Credential: URI Parameters

Parameter

Description

Specifications

Required

Mutually Exclusive With

credentialid

ID used within the Controller to identify this Credential.

String; URI parameter.

Y
(unless credentialname
is specified)

credentialname

credentialname

Name used within the Controller to identify this Credential.

String; URI parameter.

Y
(unless credentialid
is specified)

credentialid

Anchor
Read a Credential Example Response
Read a Credential Example Response
Read a Credential: Example Response

XML Response

JSON Response

Expand
titleXML Response
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<credential exportReleaseLevel="7.3.0.0" exportTable="ops_credentials" retainSysIds="true" version="28">
    <description />
    <name>AWS_Secrets_Manager</name>
    <opswiseGroups/>
    <provider>AWS Secrets Manager</provider>
    <providerParameters>
        <providerParameter>
            <name>ACCESS_KEY_ID</name>
        </providerParameter>
        <providerParameter>
            <name>SECRET_ACCESS_KEY</name>
        </providerParameter>
        <providerParameter>
            <name>REGION</name>
            <value>us-east-1</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_ID</name>
            <value>arn:aws:secretsmanager:us-east-1:792840030488:secret:uc-e6wnD3</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_PASSWORD_KEY</name>
            <value>password</value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_PASSPHRASE_KEY</name>
            <value></value>
        </providerParameter>
        <providerParameter>
            <name>SECRET_TOKEN_KEY</name>
            <value></value>
        </providerParameter>
    </providerParameters>
    <runtimeKeyLocation />
    <runtimeUser>secret</runtimeUser>
    <sysId>f71d4960469840c2ac3734962405bedd</sysId>
    <type>Standard</type>
</credential>
Expand
titleJSON Response
{
    "description": null,
    "exportReleaseLevel": "7.3.0.0",
    "exportTable": "ops_credentials",
    "name": "AWS_Secrets_Manager",
    "opswiseGroups": [],
    "provider": "AWS Secrets Manager",
    "providerParameters": [
        {
            "name": "ACCESS_KEY_ID",
            "value": null
        },
        {
            "name": "SECRET_ACCESS_KEY",
            "value": null
        },
        {
            "name": "REGION",
            "value": "us-east-1"
        },
        {
            "name": "SECRET_ID",
            "value": "arn:aws:secretsmanager:us-east-1:792840030488:secret:uc-e6wnD3"
        },
        {
            "name": "SECRET_PASSWORD_KEY",
            "value": "password"
        },
        {
            "name": "SECRET_PASSPHRASE_KEY",
            "value": ""
        },
        {
            "name": "SECRET_TOKEN_KEY",
            "value": ""
        }
    ],
    "retainSysIds": true,
    "runtimeKeyLocation": null,
    "runtimeUser": "secret",
    "sysId": "f71d4960469840c2ac3734962405bedd",
    "type": "Standard",
    "version": 128
}