Secrets ActiveX Reference Documentation

Secrets

Current Version: 10.1.0

Provides a unified API for managing secrets stored in the following locations:

  • Windows Credentials Manager
  • Apple Keychain
  • AWS Secrets Manager
  • Azure Key Vault
  • IBM Cloud Secrets Manager
  • Oracle Cloud Secrets
  • Doppler Secrets
  • In-Memory Secrets

Object Creation

Note:
For versions of Chilkat < 10.0.0, use "Chilkat_9_5_0.Secrets" instead of "Chilkat.Secrets"
For a specific major version, use "Chilkat.Secrets.<major_version>", such as "Chilkat.Secrets.10" for Chilkat v10.*.*
See Chilkat ActiveX Object Creation

(ASP)
set obj = Server.CreateObject("Chilkat.Secrets")

(AutoIt)
$obj = ObjCreate("Chilkat.Secrets")

(Visual Basic 6.0)
Dim obj As New ChilkatSecrets

(VBScript)
set obj = CreateObject("Chilkat.Secrets")

(Delphi)
obj := TChilkatSecrets.Create(Self);

(FoxPro)
loObject = CreateObject('Chilkat.Secrets')

(PowerBuilder)
lole_object = create oleobject
li_rc = lole_object.ConnectToNewObject("Chilkat.Secrets")

(SQL Server)
EXEC @hr = sp_OACreate 'Chilkat.Secrets', @obj OUT

(Javascript)
var obj = new ActiveXObject("Chilkat.Secrets");

Properties

AutoSplit
AutoSplit As Long
Introduced in version 10.1.0

The AutoSplit property is specific to "local_manager" secrets on Windows. The Windows Credentials Manager supports a maximum of 2560 bytes per secret. If a secret exceeds this size, it will be automatically compressed and split when created or updated, and automatically recomposed when retrieved.

A secret can be split into a maximum of 10 parts.

The default value is 1.

top
Compression
Compression As Long
Introduced in version 10.1.0

If set to 1, then the contents of the secret will be stored compressed. The default value of this property is 0.

top
DebugLogFilePath
DebugLogFilePath As String

If set to a file path, this property logs the LastErrorText of each Chilkat method or property call to the specified file. This logging helps identify the context and history of Chilkat calls leading up to any crash or hang, aiding in debugging.

Enabling the VerboseLogging property provides more detailed information. This property is mainly used for debugging rare instances where a Chilkat method call causes a hang or crash, which should generally not happen.

Possible causes of hangs include:

  • A timeout property set to 0, indicating an infinite timeout.
  • A hang occurring within an event callback in the application code.
  • An internal bug in the Chilkat code causing the hang.

top
LastBinaryResult
LastBinaryResult As Variant (read-only)

This property is mainly used in SQL Server stored procedures to retrieve binary data from the last method call that returned binary data. It is only accessible if Chilkat.Global.KeepBinaryResult is set to 1. This feature allows for the retrieval of large varbinary results in an SQL Server environment, which has restrictions on returning large data via method calls, though temp tables can handle binary properties.

top
LastErrorHtml
LastErrorHtml As String (read-only)

Provides HTML-formatted information about the last called method or property. If a method call fails or behaves unexpectedly, check this property for details. Note that information is available regardless of the method call's success.

top
LastErrorText
LastErrorText As String (read-only)

Provides plain text information about the last called method or property. If a method call fails or behaves unexpectedly, check this property for details. Note that information is available regardless of the method call's success.

top
LastErrorXml
LastErrorXml As String (read-only)

Provides XML-formatted information about the last called method or property. If a method call fails or behaves unexpectedly, check this property for details. Note that information is available regardless of the method call's success.

top
LastMethodSuccess
LastMethodSuccess As Long

Indicates the success or failure of the most recent method call: 1 means success, 0 means failure. This property remains unchanged by property setters or getters. This method is present to address challenges in checking for null or Nothing returns in certain programming languages.

top
LastStringResult
LastStringResult As String (read-only)

In SQL Server stored procedures, this property holds the string return value of the most recent method call that returns a string. It is accessible only when Chilkat.Global.KeepStringResult is set to TRUE. SQL Server has limitations on string lengths returned from methods and properties, but temp tables can be used to access large strings.

top
LastStringResultLen
LastStringResultLen As Long (read-only)

The length, in characters, of the string contained in the LastStringResult property.

top
Location
Location As String
Introduced in version 10.1.0

The location of the secrets. Possible values are:

  • "local_manager" - On Windows this is the Credentials Manager. On MacOS and iOS it is the Keychain. This is not yet an option on Linux or Android.
  • "aws_secrets_manager" - AWS Secrets Manager
  • "azure_key_vault" - Azure Key Vault
  • "ibm_cloud" - IBM Cloud Secrets Manager
  • "oracle_cloud" - Oracle Cloud Secrets
  • "doppler" - Doppler Secrets
  • "memory" - In-Memory Secrets

The default location is the "local_manager". On Linux and Android, "local_manager" will behave the same as "memory".

top
UncommonOptions
UncommonOptions As String
Introduced in version 10.1.0

This is a catch-all property to be used for uncommon needs. This property defaults to the empty string and should typically remain empty.

top
VerboseLogging
VerboseLogging As Long

If set to 1, then the contents of LastErrorText (or LastErrorXml, or LastErrorHtml) may contain more verbose information. The default value is 0. Verbose logging should only be used for debugging. The potentially large quantity of logged information may adversely affect peformance.

top
Version
Version As String (read-only)

Version of the component/library, such as "10.1.0"

top

Methods

DeleteSecret
DeleteSecret(jsonId As ChilkatJsonObject) As Long
Introduced in version 10.1.0

Deletes a secret. Cloud secrets managers will typically disable the secret and schedule the secret for deletion after some number of days.

Returns 1 for success, 0 for failure.

More Information and Examples
(AutoIt) Windows Credentials Manager / Apple Keychain - Delete a Secret(Classic ASP) Windows Credentials Manager / Apple Keychain - Delete a Secret(PowerBuilder) Windows Credentials Manager / Apple Keychain - Delete a Secret(SQL Server) Windows Credentials Manager / Apple Keychain - Delete a Secret(VBScript) Windows Credentials Manager / Apple Keychain - Delete a Secret(Visual Basic 6.0) Windows Credentials Manager / Apple Keychain - Delete a Secret(Visual FoxPro) Windows Credentials Manager / Apple Keychain - Delete a Secret(AutoIt) AWS Secrets Manager - Delete a Secret(Classic ASP) AWS Secrets Manager - Delete a Secret(PowerBuilder) AWS Secrets Manager - Delete a Secret(SQL Server) AWS Secrets Manager - Delete a Secret(VBScript) AWS Secrets Manager - Delete a Secret(Visual Basic 6.0) AWS Secrets Manager - Delete a Secret(Visual FoxPro) AWS Secrets Manager - Delete a Secret(AutoIt) Azure Key Vault - Delete a Secret(Classic ASP) Azure Key Vault - Delete a Secret(PowerBuilder) Azure Key Vault - Delete a Secret(SQL Server) Azure Key Vault - Delete a Secret(VBScript) Azure Key Vault - Delete a Secret(Visual Basic 6.0) Azure Key Vault - Delete a Secret(Visual FoxPro) Azure Key Vault - Delete a Secret(AutoIt) Oracle Cloud Secrets - Delete a Secret(Classic ASP) Oracle Cloud Secrets - Delete a Secret(PowerBuilder) Oracle Cloud Secrets - Delete a Secret(SQL Server) Oracle Cloud Secrets - Delete a Secret(VBScript) Oracle Cloud Secrets - Delete a Secret(Visual Basic 6.0) Oracle Cloud Secrets - Delete a Secret(Visual FoxPro) Oracle Cloud Secrets - Delete a Secret(AutoIt) IBM Cloud Secrets - Delete a Secret(Classic ASP) IBM Cloud Secrets - Delete a Secret(PowerBuilder) IBM Cloud Secrets - Delete a Secret(SQL Server) IBM Cloud Secrets - Delete a Secret(VBScript) IBM Cloud Secrets - Delete a Secret(Visual Basic 6.0) IBM Cloud Secrets - Delete a Secret(Visual FoxPro) IBM Cloud Secrets - Delete a Secret(AutoIt) Doppler Secrets - Delete a Secret(Classic ASP) Doppler Secrets - Delete a Secret(PowerBuilder) Doppler Secrets - Delete a Secret(SQL Server) Doppler Secrets - Delete a Secret(VBScript) Doppler Secrets - Delete a Secret(Visual Basic 6.0) Doppler Secrets - Delete a Secret(Visual FoxPro) Doppler Secrets - Delete a Secret
top
DeleteSecretAsync (1) (2) (AutoIt) (PowerBuilder) (VBScript) (Visual Basic 6.0) (Visual FoxPro)
DeleteSecretAsync(jsonId As ChilkatJsonObject) As ChilkatTask
Introduced in version 10.1.0

Creates an asynchronous task to call the DeleteSecret method with the arguments provided.

Note: Async method event callbacks happen in the background thread. Accessing and updating UI elements existing in the main thread may require special considerations.

Returns Nothing on failure

top
GetSecretBd
GetSecretBd(jsonId As ChilkatJsonObject, bd As ChilkatBinData) As Long
Introduced in version 10.1.0

Fetches a binary secret and returns the content in bd.

Returns 1 for success, 0 for failure.

More Information and Examples
(AutoIt) Windows Credentials Manager / Apple Keychain - Get a Binary Secret(Classic ASP) Windows Credentials Manager / Apple Keychain - Get a Binary Secret(PowerBuilder) Windows Credentials Manager / Apple Keychain - Get a Binary Secret(SQL Server) Windows Credentials Manager / Apple Keychain - Get a Binary Secret(VBScript) Windows Credentials Manager / Apple Keychain - Get a Binary Secret(Visual Basic 6.0) Windows Credentials Manager / Apple Keychain - Get a Binary Secret(Visual FoxPro) Windows Credentials Manager / Apple Keychain - Get a Binary Secret(AutoIt) AWS Secrets Manager - Get a Binary Secret(Classic ASP) AWS Secrets Manager - Get a Binary Secret(PowerBuilder) AWS Secrets Manager - Get a Binary Secret(SQL Server) AWS Secrets Manager - Get a Binary Secret(VBScript) AWS Secrets Manager - Get a Binary Secret(Visual Basic 6.0) AWS Secrets Manager - Get a Binary Secret(Visual FoxPro) AWS Secrets Manager - Get a Binary Secret(AutoIt) Azure Key Vault - Get a Binary Secret(Classic ASP) Azure Key Vault - Get a Binary Secret(PowerBuilder) Azure Key Vault - Get a Binary Secret(SQL Server) Azure Key Vault - Get a Binary Secret(VBScript) Azure Key Vault - Get a Binary Secret(Visual Basic 6.0) Azure Key Vault - Get a Binary Secret(Visual FoxPro) Azure Key Vault - Get a Binary Secret(AutoIt) Oracle Cloud Secrets - Get a Binary Secret(Classic ASP) Oracle Cloud Secrets - Get a Binary Secret(PowerBuilder) Oracle Cloud Secrets - Get a Binary Secret(SQL Server) Oracle Cloud Secrets - Get a Binary Secret(VBScript) Oracle Cloud Secrets - Get a Binary Secret(Visual Basic 6.0) Oracle Cloud Secrets - Get a Binary Secret(Visual FoxPro) Oracle Cloud Secrets - Get a Binary Secret(AutoIt) IBM Cloud Secrets - Get a Binary Secret(Classic ASP) IBM Cloud Secrets - Get a Binary Secret(PowerBuilder) IBM Cloud Secrets - Get a Binary Secret(SQL Server) IBM Cloud Secrets - Get a Binary Secret(VBScript) IBM Cloud Secrets - Get a Binary Secret(Visual Basic 6.0) IBM Cloud Secrets - Get a Binary Secret(Visual FoxPro) IBM Cloud Secrets - Get a Binary Secret(AutoIt) Doppler Secrets - Get a Binary Secret(Classic ASP) Doppler Secrets - Get a Binary Secret(PowerBuilder) Doppler Secrets - Get a Binary Secret(SQL Server) Doppler Secrets - Get a Binary Secret(VBScript) Doppler Secrets - Get a Binary Secret(Visual Basic 6.0) Doppler Secrets - Get a Binary Secret(Visual FoxPro) Doppler Secrets - Get a Binary Secret
top
GetSecretBdAsync (1) (2) (AutoIt) (PowerBuilder) (VBScript) (Visual Basic 6.0) (Visual FoxPro)
GetSecretBdAsync(jsonId As ChilkatJsonObject, bd As ChilkatBinData) As ChilkatTask
Introduced in version 10.1.0

Creates an asynchronous task to call the GetSecretBd method with the arguments provided.

Note: Async method event callbacks happen in the background thread. Accessing and updating UI elements existing in the main thread may require special considerations.

Returns Nothing on failure

top
GetSecretJson
GetSecretJson(jsonId As ChilkatJsonObject, jsonOut As ChilkatJsonObject) As Long
Introduced in version 10.1.0

Fetches a JSON secret and returns the content in jsonOut.

Returns 1 for success, 0 for failure.

More Information and Examples
(AutoIt) Windows Credentials Manager / Apple Keychain - Get a JSON Secret(Classic ASP) Windows Credentials Manager / Apple Keychain - Get a JSON Secret(PowerBuilder) Windows Credentials Manager / Apple Keychain - Get a JSON Secret(SQL Server) Windows Credentials Manager / Apple Keychain - Get a JSON Secret(VBScript) Windows Credentials Manager / Apple Keychain - Get a JSON Secret(Visual Basic 6.0) Windows Credentials Manager / Apple Keychain - Get a JSON Secret(Visual FoxPro) Windows Credentials Manager / Apple Keychain - Get a JSON Secret(AutoIt) AWS Secrets Manager - Get a JSON Secret(Classic ASP) AWS Secrets Manager - Get a JSON Secret(PowerBuilder) AWS Secrets Manager - Get a JSON Secret(SQL Server) AWS Secrets Manager - Get a JSON Secret(VBScript) AWS Secrets Manager - Get a JSON Secret(Visual Basic 6.0) AWS Secrets Manager - Get a JSON Secret(Visual FoxPro) AWS Secrets Manager - Get a JSON Secret(AutoIt) Azure Key Vault - Get a JSON Secret(Classic ASP) Azure Key Vault - Get a JSON Secret(PowerBuilder) Azure Key Vault - Get a JSON Secret(SQL Server) Azure Key Vault - Get a JSON Secret(VBScript) Azure Key Vault - Get a JSON Secret(Visual Basic 6.0) Azure Key Vault - Get a JSON Secret(Visual FoxPro) Azure Key Vault - Get a JSON Secret(AutoIt) Oracle Cloud Secrets - Get a JSON Secret(Classic ASP) Oracle Cloud Secrets - Get a JSON Secret(PowerBuilder) Oracle Cloud Secrets - Get a JSON Secret(SQL Server) Oracle Cloud Secrets - Get a JSON Secret(VBScript) Oracle Cloud Secrets - Get a JSON Secret(Visual Basic 6.0) Oracle Cloud Secrets - Get a JSON Secret(Visual FoxPro) Oracle Cloud Secrets - Get a JSON Secret(AutoIt) IBM Cloud Secrets - Get a JSON Secret(Classic ASP) IBM Cloud Secrets - Get a JSON Secret(PowerBuilder) IBM Cloud Secrets - Get a JSON Secret(SQL Server) IBM Cloud Secrets - Get a JSON Secret(VBScript) IBM Cloud Secrets - Get a JSON Secret(Visual Basic 6.0) IBM Cloud Secrets - Get a JSON Secret(Visual FoxPro) IBM Cloud Secrets - Get a JSON Secret(AutoIt) Doppler Secrets - Get a JSON Secret(Classic ASP) Doppler Secrets - Get a JSON Secret(PowerBuilder) Doppler Secrets - Get a JSON Secret(SQL Server) Doppler Secrets - Get a JSON Secret(VBScript) Doppler Secrets - Get a JSON Secret(Visual Basic 6.0) Doppler Secrets - Get a JSON Secret(Visual FoxPro) Doppler Secrets - Get a JSON Secret
top
GetSecretJsonAsync (1) (2) (AutoIt) (PowerBuilder) (VBScript) (Visual Basic 6.0) (Visual FoxPro)
GetSecretJsonAsync(jsonId As ChilkatJsonObject, jsonOut As ChilkatJsonObject) As ChilkatTask
Introduced in version 10.1.0

Creates an asynchronous task to call the GetSecretJson method with the arguments provided.

Note: Async method event callbacks happen in the background thread. Accessing and updating UI elements existing in the main thread may require special considerations.

Returns Nothing on failure

top
GetSecretSb
GetSecretSb(jsonId As ChilkatJsonObject, sb As ChilkatStringBuilder) As Long
Introduced in version 10.1.0

Fetches a string secret and returns the content in sb.

Returns 1 for success, 0 for failure.

top
GetSecretSbAsync (1) (2) (AutoIt) (PowerBuilder) (VBScript) (Visual Basic 6.0) (Visual FoxPro)
GetSecretSbAsync(jsonId As ChilkatJsonObject, sb As ChilkatStringBuilder) As ChilkatTask
Introduced in version 10.1.0

Creates an asynchronous task to call the GetSecretSb method with the arguments provided.

Note: Async method event callbacks happen in the background thread. Accessing and updating UI elements existing in the main thread may require special considerations.

Returns Nothing on failure

top
GetSecretStr
GetSecretStr(jsonId As ChilkatJsonObject) As String
Introduced in version 10.1.0

Fetches a string secret and returns the content of the secret.

Returns Nothing on failure

More Information and Examples
(AutoIt) Windows Credentials Manager / Apple Keychain - Get a String Secret(Classic ASP) Windows Credentials Manager / Apple Keychain - Get a String Secret(PowerBuilder) Windows Credentials Manager / Apple Keychain - Get a String Secret(SQL Server) Windows Credentials Manager / Apple Keychain - Get a String Secret(VBScript) Windows Credentials Manager / Apple Keychain - Get a String Secret(Visual Basic 6.0) Windows Credentials Manager / Apple Keychain - Get a String Secret(Visual FoxPro) Windows Credentials Manager / Apple Keychain - Get a String Secret(AutoIt) AWS Secrets Manager - Get a String Secret(Classic ASP) AWS Secrets Manager - Get a String Secret(PowerBuilder) AWS Secrets Manager - Get a String Secret(SQL Server) AWS Secrets Manager - Get a String Secret(VBScript) AWS Secrets Manager - Get a String Secret(Visual Basic 6.0) AWS Secrets Manager - Get a String Secret(Visual FoxPro) AWS Secrets Manager - Get a String Secret(AutoIt) Azure Key Vault - Get a String Secret(Classic ASP) Azure Key Vault - Get a String Secret(PowerBuilder) Azure Key Vault - Get a String Secret(SQL Server) Azure Key Vault - Get a String Secret(VBScript) Azure Key Vault - Get a String Secret(Visual Basic 6.0) Azure Key Vault - Get a String Secret(Visual FoxPro) Azure Key Vault - Get a String Secret(AutoIt) Oracle Cloud Secrets - Get a String Secret(Classic ASP) Oracle Cloud Secrets - Get a String Secret(PowerBuilder) Oracle Cloud Secrets - Get a String Secret(SQL Server) Oracle Cloud Secrets - Get a String Secret(VBScript) Oracle Cloud Secrets - Get a String Secret(Visual Basic 6.0) Oracle Cloud Secrets - Get a String Secret(Visual FoxPro) Oracle Cloud Secrets - Get a String Secret(AutoIt) IBM Cloud Secrets - Get a String Secret(Classic ASP) IBM Cloud Secrets - Get a String Secret(PowerBuilder) IBM Cloud Secrets - Get a String Secret(SQL Server) IBM Cloud Secrets - Get a String Secret(VBScript) IBM Cloud Secrets - Get a String Secret(Visual Basic 6.0) IBM Cloud Secrets - Get a String Secret(Visual FoxPro) IBM Cloud Secrets - Get a String Secret(AutoIt) Doppler Secrets - Get a String Secret(Classic ASP) Doppler Secrets - Get a String Secret(PowerBuilder) Doppler Secrets - Get a String Secret(SQL Server) Doppler Secrets - Get a String Secret(VBScript) Doppler Secrets - Get a String Secret(Visual Basic 6.0) Doppler Secrets - Get a String Secret(Visual FoxPro) Doppler Secrets - Get a String Secret
top
GetSecretStrAsync (1) (2) (AutoIt) (PowerBuilder) (VBScript) (Visual Basic 6.0) (Visual FoxPro)
GetSecretStrAsync(jsonId As ChilkatJsonObject) As ChilkatTask
Introduced in version 10.1.0

Creates an asynchronous task to call the GetSecretStr method with the arguments provided.

Note: Async method event callbacks happen in the background thread. Accessing and updating UI elements existing in the main thread may require special considerations.

Returns Nothing on failure

top
ListSecrets
ListSecrets(json As ChilkatJsonObject, jsonOut As ChilkatJsonObject) As Long
Introduced in version 10.1.0

Lists secrets matching the wildcarded or exact values passed in json. The results of the query are returned in jsonOut.

Returns 1 for success, 0 for failure.

More Information and Examples
(AutoIt) Windows Credentials Manager / Apple Keychain - List All Secrets(Classic ASP) Windows Credentials Manager / Apple Keychain - List All Secrets(PowerBuilder) Windows Credentials Manager / Apple Keychain - List All Secrets(SQL Server) Windows Credentials Manager / Apple Keychain - List All Secrets(VBScript) Windows Credentials Manager / Apple Keychain - List All Secrets(Visual Basic 6.0) Windows Credentials Manager / Apple Keychain - List All Secrets(Visual FoxPro) Windows Credentials Manager / Apple Keychain - List All Secrets(AutoIt) Windows Credentials Manager / Apple Keychain - List Matching Secrets(Classic ASP) Windows Credentials Manager / Apple Keychain - List Matching Secrets(PowerBuilder) Windows Credentials Manager / Apple Keychain - List Matching Secrets(SQL Server) Windows Credentials Manager / Apple Keychain - List Matching Secrets(VBScript) Windows Credentials Manager / Apple Keychain - List Matching Secrets(Visual Basic 6.0) Windows Credentials Manager / Apple Keychain - List Matching Secrets(Visual FoxPro) Windows Credentials Manager / Apple Keychain - List Matching Secrets(AutoIt) AWS Secrets Manager - List Matching Secrets(Classic ASP) AWS Secrets Manager - List Matching Secrets(PowerBuilder) AWS Secrets Manager - List Matching Secrets(SQL Server) AWS Secrets Manager - List Matching Secrets(VBScript) AWS Secrets Manager - List Matching Secrets(Visual Basic 6.0) AWS Secrets Manager - List Matching Secrets(Visual FoxPro) AWS Secrets Manager - List Matching Secrets(AutoIt) Azure Key Vault - List Matching Secrets(Classic ASP) Azure Key Vault - List Matching Secrets(PowerBuilder) Azure Key Vault - List Matching Secrets(SQL Server) Azure Key Vault - List Matching Secrets(VBScript) Azure Key Vault - List Matching Secrets(Visual Basic 6.0) Azure Key Vault - List Matching Secrets(Visual FoxPro) Azure Key Vault - List Matching Secrets(AutoIt) Oracle Cloud Secrets - List Matching Secrets(Classic ASP) Oracle Cloud Secrets - List Matching Secrets(PowerBuilder) Oracle Cloud Secrets - List Matching Secrets(SQL Server) Oracle Cloud Secrets - List Matching Secrets(VBScript) Oracle Cloud Secrets - List Matching Secrets(Visual Basic 6.0) Oracle Cloud Secrets - List Matching Secrets(Visual FoxPro) Oracle Cloud Secrets - List Matching Secrets(AutoIt) IBM Cloud Secrets - List Matching Secrets(Classic ASP) IBM Cloud Secrets - List Matching Secrets(PowerBuilder) IBM Cloud Secrets - List Matching Secrets(SQL Server) IBM Cloud Secrets - List Matching Secrets(VBScript) IBM Cloud Secrets - List Matching Secrets(Visual Basic 6.0) IBM Cloud Secrets - List Matching Secrets(Visual FoxPro) IBM Cloud Secrets - List Matching Secrets(AutoIt) Doppler Secrets - List Matching Secrets(Classic ASP) Doppler Secrets - List Matching Secrets(PowerBuilder) Doppler Secrets - List Matching Secrets(SQL Server) Doppler Secrets - List Matching Secrets(VBScript) Doppler Secrets - List Matching Secrets(Visual Basic 6.0) Doppler Secrets - List Matching Secrets(Visual FoxPro) Doppler Secrets - List Matching Secrets
top
ListSecretsAsync (1) (2) (AutoIt) (PowerBuilder) (VBScript) (Visual Basic 6.0) (Visual FoxPro)
ListSecretsAsync(json As ChilkatJsonObject, jsonOut As ChilkatJsonObject) As ChilkatTask
Introduced in version 10.1.0

Creates an asynchronous task to call the ListSecrets method with the arguments provided.

Note: Async method event callbacks happen in the background thread. Accessing and updating UI elements existing in the main thread may require special considerations.

Returns Nothing on failure

top
SetBootstrapSecret
SetBootstrapSecret(jsonId As ChilkatJsonObject, secretContent As ChilkatSecrets) As Long
Introduced in version 10.1.0

Accessing a cloud-based secrets manager requires authentication credentials, which cannot be stored in the manager itself. Instead, they must be securely stored locally.

One solution is to store the authentication credentials as a secret in the Windows Credentials Manager or Apple Keychain. These credentials serve as the "bootstrap secret" for authenticating with the cloud-based secrets manager.

jsonId contains the name of the bootstrap secret. secretContent contains the bootstrap's secret content.

Returns 1 for success, 0 for failure.

More Information and Examples
(AutoIt) AWS Setup Bootstrap Secret in Local Manager(Classic ASP) AWS Setup Bootstrap Secret in Local Manager(PowerBuilder) AWS Setup Bootstrap Secret in Local Manager(SQL Server) AWS Setup Bootstrap Secret in Local Manager(VBScript) AWS Setup Bootstrap Secret in Local Manager(Visual Basic 6.0) AWS Setup Bootstrap Secret in Local Manager(Visual FoxPro) AWS Setup Bootstrap Secret in Local Manager(AutoIt) AWS Setup Bootstrap Secret in Memory(Classic ASP) AWS Setup Bootstrap Secret in Memory(PowerBuilder) AWS Setup Bootstrap Secret in Memory(SQL Server) AWS Setup Bootstrap Secret in Memory(VBScript) AWS Setup Bootstrap Secret in Memory(Visual Basic 6.0) AWS Setup Bootstrap Secret in Memory(Visual FoxPro) AWS Setup Bootstrap Secret in Memory(AutoIt) Azure Key Vault - Setup Bootstrap Secret in Local Manager(Classic ASP) Azure Key Vault - Setup Bootstrap Secret in Local Manager(PowerBuilder) Azure Key Vault - Setup Bootstrap Secret in Local Manager(SQL Server) Azure Key Vault - Setup Bootstrap Secret in Local Manager(VBScript) Azure Key Vault - Setup Bootstrap Secret in Local Manager(Visual Basic 6.0) Azure Key Vault - Setup Bootstrap Secret in Local Manager(Visual FoxPro) Azure Key Vault - Setup Bootstrap Secret in Local Manager(AutoIt) Azure Key Vault - Setup Bootstrap Secret in Memory(Classic ASP) Azure Key Vault - Setup Bootstrap Secret in Memory(PowerBuilder) Azure Key Vault - Setup Bootstrap Secret in Memory(SQL Server) Azure Key Vault - Setup Bootstrap Secret in Memory(VBScript) Azure Key Vault - Setup Bootstrap Secret in Memory(Visual Basic 6.0) Azure Key Vault - Setup Bootstrap Secret in Memory(Visual FoxPro) Azure Key Vault - Setup Bootstrap Secret in Memory(AutoIt) Oracle Cloud Secrets - Setup Bootstrap Secret in Local Manager(Classic ASP) Oracle Cloud Secrets - Setup Bootstrap Secret in Local Manager(PowerBuilder) Oracle Cloud Secrets - Setup Bootstrap Secret in Local Manager(SQL Server) Oracle Cloud Secrets - Setup Bootstrap Secret in Local Manager(VBScript) Oracle Cloud Secrets - Setup Bootstrap Secret in Local Manager(Visual Basic 6.0) Oracle Cloud Secrets - Setup Bootstrap Secret in Local Manager(Visual FoxPro) Oracle Cloud Secrets - Setup Bootstrap Secret in Local Manager(AutoIt) Oracle Cloud Secrets - Setup Bootstrap Secret in Memory(Classic ASP) Oracle Cloud Secrets - Setup Bootstrap Secret in Memory(PowerBuilder) Oracle Cloud Secrets - Setup Bootstrap Secret in Memory(SQL Server) Oracle Cloud Secrets - Setup Bootstrap Secret in Memory(VBScript) Oracle Cloud Secrets - Setup Bootstrap Secret in Memory(Visual Basic 6.0) Oracle Cloud Secrets - Setup Bootstrap Secret in Memory(Visual FoxPro) Oracle Cloud Secrets - Setup Bootstrap Secret in Memory(AutoIt) IBM Cloud Secrets - Setup Bootstrap Secret in Local Manager(Classic ASP) IBM Cloud Secrets - Setup Bootstrap Secret in Local Manager(PowerBuilder) IBM Cloud Secrets - Setup Bootstrap Secret in Local Manager(SQL Server) IBM Cloud Secrets - Setup Bootstrap Secret in Local Manager(VBScript) IBM Cloud Secrets - Setup Bootstrap Secret in Local Manager(Visual Basic 6.0) IBM Cloud Secrets - Setup Bootstrap Secret in Local Manager(Visual FoxPro) IBM Cloud Secrets - Setup Bootstrap Secret in Local Manager(AutoIt) IBM Cloud Secrets - Setup Bootstrap Secret in Memory(Classic ASP) IBM Cloud Secrets - Setup Bootstrap Secret in Memory(PowerBuilder) IBM Cloud Secrets - Setup Bootstrap Secret in Memory(SQL Server) IBM Cloud Secrets - Setup Bootstrap Secret in Memory(VBScript) IBM Cloud Secrets - Setup Bootstrap Secret in Memory(Visual Basic 6.0) IBM Cloud Secrets - Setup Bootstrap Secret in Memory(Visual FoxPro) IBM Cloud Secrets - Setup Bootstrap Secret in Memory(AutoIt) Doppler Secrets - Setup Bootstrap Secret in Local Manager(Classic ASP) Doppler Secrets - Setup Bootstrap Secret in Local Manager(PowerBuilder) Doppler Secrets - Setup Bootstrap Secret in Local Manager(SQL Server) Doppler Secrets - Setup Bootstrap Secret in Local Manager(VBScript) Doppler Secrets - Setup Bootstrap Secret in Local Manager(Visual Basic 6.0) Doppler Secrets - Setup Bootstrap Secret in Local Manager(Visual FoxPro) Doppler Secrets - Setup Bootstrap Secret in Local Manager(AutoIt) Doppler Secrets - Setup Bootstrap Secret in Memory(Classic ASP) Doppler Secrets - Setup Bootstrap Secret in Memory(PowerBuilder) Doppler Secrets - Setup Bootstrap Secret in Memory(SQL Server) Doppler Secrets - Setup Bootstrap Secret in Memory(VBScript) Doppler Secrets - Setup Bootstrap Secret in Memory(Visual Basic 6.0) Doppler Secrets - Setup Bootstrap Secret in Memory(Visual FoxPro) Doppler Secrets - Setup Bootstrap Secret in Memory
top
UpdateSecretBd
UpdateSecretBd(jsonId As ChilkatJsonObject, secret As ChilkatBinData) As Long
Introduced in version 10.1.0

Creates a binary secret if it does not yet exist, or updates an existing secret. The name of the secret is specified in jsonId, and the binary content of the secret in secret.

Returns 1 for success, 0 for failure.

More Information and Examples
(AutoIt) Windows Credentials Manager / Apple Keychain - Create or Update a Binary Secret(Classic ASP) Windows Credentials Manager / Apple Keychain - Create or Update a Binary Secret(PowerBuilder) Windows Credentials Manager / Apple Keychain - Create or Update a Binary Secret(SQL Server) Windows Credentials Manager / Apple Keychain - Create or Update a Binary Secret(VBScript) Windows Credentials Manager / Apple Keychain - Create or Update a Binary Secret(Visual Basic 6.0) Windows Credentials Manager / Apple Keychain - Create or Update a Binary Secret(Visual FoxPro) Windows Credentials Manager / Apple Keychain - Create or Update a Binary Secret(AutoIt) AWS Secrets Manager - Create or Update a Binary Secret(Classic ASP) AWS Secrets Manager - Create or Update a Binary Secret(PowerBuilder) AWS Secrets Manager - Create or Update a Binary Secret(SQL Server) AWS Secrets Manager - Create or Update a Binary Secret(VBScript) AWS Secrets Manager - Create or Update a Binary Secret(Visual Basic 6.0) AWS Secrets Manager - Create or Update a Binary Secret(Visual FoxPro) AWS Secrets Manager - Create or Update a Binary Secret(AutoIt) Azure Key Vault - Create or Update a Binary Secret(Classic ASP) Azure Key Vault - Create or Update a Binary Secret(PowerBuilder) Azure Key Vault - Create or Update a Binary Secret(SQL Server) Azure Key Vault - Create or Update a Binary Secret(VBScript) Azure Key Vault - Create or Update a Binary Secret(Visual Basic 6.0) Azure Key Vault - Create or Update a Binary Secret(Visual FoxPro) Azure Key Vault - Create or Update a Binary Secret(AutoIt) Oracle Cloud Secrets - Create or Update a Binary Secret(Classic ASP) Oracle Cloud Secrets - Create or Update a Binary Secret(PowerBuilder) Oracle Cloud Secrets - Create or Update a Binary Secret(SQL Server) Oracle Cloud Secrets - Create or Update a Binary Secret(VBScript) Oracle Cloud Secrets - Create or Update a Binary Secret(Visual Basic 6.0) Oracle Cloud Secrets - Create or Update a Binary Secret(Visual FoxPro) Oracle Cloud Secrets - Create or Update a Binary Secret(AutoIt) IBM Cloud Secrets - Create or Update a Binary Secret(Classic ASP) IBM Cloud Secrets - Create or Update a Binary Secret(PowerBuilder) IBM Cloud Secrets - Create or Update a Binary Secret(SQL Server) IBM Cloud Secrets - Create or Update a Binary Secret(VBScript) IBM Cloud Secrets - Create or Update a Binary Secret(Visual Basic 6.0) IBM Cloud Secrets - Create or Update a Binary Secret(Visual FoxPro) IBM Cloud Secrets - Create or Update a Binary Secret(AutoIt) Doppler Secrets - Create or Update a Binary Secret(Classic ASP) Doppler Secrets - Create or Update a Binary Secret(PowerBuilder) Doppler Secrets - Create or Update a Binary Secret(SQL Server) Doppler Secrets - Create or Update a Binary Secret(VBScript) Doppler Secrets - Create or Update a Binary Secret(Visual Basic 6.0) Doppler Secrets - Create or Update a Binary Secret(Visual FoxPro) Doppler Secrets - Create or Update a Binary Secret
top
UpdateSecretBdAsync (1) (2) (AutoIt) (PowerBuilder) (VBScript) (Visual Basic 6.0) (Visual FoxPro)
UpdateSecretBdAsync(jsonId As ChilkatJsonObject, secret As ChilkatBinData) As ChilkatTask
Introduced in version 10.1.0

Creates an asynchronous task to call the UpdateSecretBd method with the arguments provided.

Note: Async method event callbacks happen in the background thread. Accessing and updating UI elements existing in the main thread may require special considerations.

Returns Nothing on failure

top
UpdateSecretJson
UpdateSecretJson(jsonId As ChilkatJsonObject, secret As ChilkatJsonObject) As Long
Introduced in version 10.1.0

Creates a JSON secret if it does not yet exist, or updates an existing secret. The name of the secret is specified in jsonId, and the JSON content of the secret in secret.

Returns 1 for success, 0 for failure.

More Information and Examples
(AutoIt) Windows Credentials Manager / Apple Keychain - Create or Update a JSON Secret(Classic ASP) Windows Credentials Manager / Apple Keychain - Create or Update a JSON Secret(PowerBuilder) Windows Credentials Manager / Apple Keychain - Create or Update a JSON Secret(SQL Server) Windows Credentials Manager / Apple Keychain - Create or Update a JSON Secret(VBScript) Windows Credentials Manager / Apple Keychain - Create or Update a JSON Secret(Visual Basic 6.0) Windows Credentials Manager / Apple Keychain - Create or Update a JSON Secret(Visual FoxPro) Windows Credentials Manager / Apple Keychain - Create or Update a JSON Secret(AutoIt) Windows Credentials Manager - AutoSplit Larger Secrets(Classic ASP) Windows Credentials Manager - AutoSplit Larger Secrets(PowerBuilder) Windows Credentials Manager - AutoSplit Larger Secrets(SQL Server) Windows Credentials Manager - AutoSplit Larger Secrets(VBScript) Windows Credentials Manager - AutoSplit Larger Secrets(Visual Basic 6.0) Windows Credentials Manager - AutoSplit Larger Secrets(Visual FoxPro) Windows Credentials Manager - AutoSplit Larger Secrets(AutoIt) Azure Key Vault - Create or Update a JSON Secret(Classic ASP) Azure Key Vault - Create or Update a JSON Secret(PowerBuilder) Azure Key Vault - Create or Update a JSON Secret(SQL Server) Azure Key Vault - Create or Update a JSON Secret(VBScript) Azure Key Vault - Create or Update a JSON Secret(Visual Basic 6.0) Azure Key Vault - Create or Update a JSON Secret(Visual FoxPro) Azure Key Vault - Create or Update a JSON Secret(AutoIt) Oracle Cloud Secrets - Create or Update a JSON Secret(Classic ASP) Oracle Cloud Secrets - Create or Update a JSON Secret(PowerBuilder) Oracle Cloud Secrets - Create or Update a JSON Secret(SQL Server) Oracle Cloud Secrets - Create or Update a JSON Secret(VBScript) Oracle Cloud Secrets - Create or Update a JSON Secret(Visual Basic 6.0) Oracle Cloud Secrets - Create or Update a JSON Secret(Visual FoxPro) Oracle Cloud Secrets - Create or Update a JSON Secret(AutoIt) IBM Cloud Secrets - Create or Update a JSON Secret(Classic ASP) IBM Cloud Secrets - Create or Update a JSON Secret(PowerBuilder) IBM Cloud Secrets - Create or Update a JSON Secret(SQL Server) IBM Cloud Secrets - Create or Update a JSON Secret(VBScript) IBM Cloud Secrets - Create or Update a JSON Secret(Visual Basic 6.0) IBM Cloud Secrets - Create or Update a JSON Secret(Visual FoxPro) IBM Cloud Secrets - Create or Update a JSON Secret(AutoIt) Doppler Secrets - Create or Update a JSON Secret(Classic ASP) Doppler Secrets - Create or Update a JSON Secret(PowerBuilder) Doppler Secrets - Create or Update a JSON Secret(SQL Server) Doppler Secrets - Create or Update a JSON Secret(VBScript) Doppler Secrets - Create or Update a JSON Secret(Visual Basic 6.0) Doppler Secrets - Create or Update a JSON Secret(Visual FoxPro) Doppler Secrets - Create or Update a JSON Secret
top
UpdateSecretJsonAsync (1) (2) (AutoIt) (PowerBuilder) (VBScript) (Visual Basic 6.0) (Visual FoxPro)
UpdateSecretJsonAsync(jsonId As ChilkatJsonObject, secret As ChilkatJsonObject) As ChilkatTask
Introduced in version 10.1.0

Creates an asynchronous task to call the UpdateSecretJson method with the arguments provided.

Note: Async method event callbacks happen in the background thread. Accessing and updating UI elements existing in the main thread may require special considerations.

Returns Nothing on failure

top
UpdateSecretSb
UpdateSecretSb(jsonId As ChilkatJsonObject, sb As ChilkatStringBuilder) As Long
Introduced in version 10.1.0

Creates a string secret if it does not yet exist, or updates an existing secret. The name of the secret is specified in jsonId, and the string content of the secret in sb.

Returns 1 for success, 0 for failure.

top
UpdateSecretSbAsync (1) (2) (AutoIt) (PowerBuilder) (VBScript) (Visual Basic 6.0) (Visual FoxPro)
UpdateSecretSbAsync(jsonId As ChilkatJsonObject, sb As ChilkatStringBuilder) As ChilkatTask
Introduced in version 10.1.0

Creates an asynchronous task to call the UpdateSecretSb method with the arguments provided.

Note: Async method event callbacks happen in the background thread. Accessing and updating UI elements existing in the main thread may require special considerations.

Returns Nothing on failure

top
UpdateSecretStr
UpdateSecretStr(jsonId As ChilkatJsonObject, secret As String) As Long
Introduced in version 10.1.0

Creates a string secret if it does not yet exist, or updates an existing secret. The name of the secret is specified in jsonId, and the string content of the secret in secret.

Returns 1 for success, 0 for failure.

More Information and Examples
(AutoIt) Windows Credentials Manager / Apple Keychain - Create or Update a Secret(Classic ASP) Windows Credentials Manager / Apple Keychain - Create or Update a Secret(PowerBuilder) Windows Credentials Manager / Apple Keychain - Create or Update a Secret(SQL Server) Windows Credentials Manager / Apple Keychain - Create or Update a Secret(VBScript) Windows Credentials Manager / Apple Keychain - Create or Update a Secret(Visual Basic 6.0) Windows Credentials Manager / Apple Keychain - Create or Update a Secret(Visual FoxPro) Windows Credentials Manager / Apple Keychain - Create or Update a Secret(AutoIt) Azure Key Vault - Create or Update a Secret(Classic ASP) Azure Key Vault - Create or Update a Secret(PowerBuilder) Azure Key Vault - Create or Update a Secret(SQL Server) Azure Key Vault - Create or Update a Secret(VBScript) Azure Key Vault - Create or Update a Secret(Visual Basic 6.0) Azure Key Vault - Create or Update a Secret(Visual FoxPro) Azure Key Vault - Create or Update a Secret(AutoIt) Oracle Cloud Secrets - Create or Update a Secret(Classic ASP) Oracle Cloud Secrets - Create or Update a Secret(PowerBuilder) Oracle Cloud Secrets - Create or Update a Secret(SQL Server) Oracle Cloud Secrets - Create or Update a Secret(VBScript) Oracle Cloud Secrets - Create or Update a Secret(Visual Basic 6.0) Oracle Cloud Secrets - Create or Update a Secret(Visual FoxPro) Oracle Cloud Secrets - Create or Update a Secret(AutoIt) IBM Cloud Secrets - Create or Update a Secret(Classic ASP) IBM Cloud Secrets - Create or Update a Secret(PowerBuilder) IBM Cloud Secrets - Create or Update a Secret(SQL Server) IBM Cloud Secrets - Create or Update a Secret(VBScript) IBM Cloud Secrets - Create or Update a Secret(Visual Basic 6.0) IBM Cloud Secrets - Create or Update a Secret(Visual FoxPro) IBM Cloud Secrets - Create or Update a Secret(AutoIt) Doppler Secrets - Create or Update a Secret(Classic ASP) Doppler Secrets - Create or Update a Secret(PowerBuilder) Doppler Secrets - Create or Update a Secret(SQL Server) Doppler Secrets - Create or Update a Secret(VBScript) Doppler Secrets - Create or Update a Secret(Visual Basic 6.0) Doppler Secrets - Create or Update a Secret(Visual FoxPro) Doppler Secrets - Create or Update a Secret
top
UpdateSecretStrAsync (1) (2) (AutoIt) (PowerBuilder) (VBScript) (Visual Basic 6.0) (Visual FoxPro)
UpdateSecretStrAsync(jsonId As ChilkatJsonObject, secret As String) As ChilkatTask
Introduced in version 10.1.0

Creates an asynchronous task to call the UpdateSecretStr method with the arguments provided.

Note: Async method event callbacks happen in the background thread. Accessing and updating UI elements existing in the main thread may require special considerations.

Returns Nothing on failure

top

Events

AbortCheck
AbortCheck(abort As Long)

Provides the opportunity for a method call to be aborted. The AbortCheck event is fired periodically based on the value of the HeartbeatMs property. If HeartbeatMs is 0, then no AbortCheck events will fire. As an example, to fire 5 AbortCheck events per second, set the HeartbeatMs property equal to 200.

VB6 Event callback implementation:

Important: Event callbacks from asynchronous method calls are generally not possible from the ActiveX. See VB6 Async Callbacks

Dim WithEvents mySecrets As ChilkatSecrets

Private Sub mySecrets_AbortCheck(abort As Long)

	'Insert application code here.

End Sub
top
PercentDone
PercentDone(ByVal pctDone As Long, abort As Long)

Provides the percentage completed for any method that involves network communications or time-consuming processing (assuming it is a method where a percentage completion can be measured). This event is only fired when it is possible to know a percentage completion, and when it makes sense to express the operation as a percentage completed. The pctDone argument will have a value from 1 to 100. For operations (Chilkat method calls) that complete very quickly, the number of PercentDone callbacks will vary, but the final callback should have a value of 100. For long running operations, no more than one callback per percentage point will occur (for example: 1, 2, 3, ... 98, 99, 100).

The PercentDone callback counts as an AbortCheck event. For method calls that complete quickly such that PercentDone events fire, it may be that AbortCheck events don't fire because the opportunity to abort is already provided in the PercentDone callback. For time consuming operations, where the amount of time between PercentDone callbacks are long, AbortCheck callbacks may be used to allow for the operation to be aborted in a more responsive manner.

The abort output argument provides a means for aborting the operation. Setting it to 1 will cause the method to abort and return a failed status (or whatever return value indicates failure).

VB6 Event callback implementation:

Important: Event callbacks from asynchronous method calls are generally not possible from the ActiveX. See VB6 Async Callbacks

Dim WithEvents mySecrets As ChilkatSecrets

Private Sub mySecrets_PercentDone(ByVal pctDone As Long, abort As Long)

	'Insert application code here.

End Sub
top
ProgressInfo
ProgressInfo(ByVal name As String, ByVal value As String)

A general name/value event that provides information about what is happening during a method call. To find out what information is available, write code to handle this event and log the name/value pairs. Most are self-explanatory.

VB6 Event callback implementation:

Important: Event callbacks from asynchronous method calls are generally not possible from the ActiveX. See VB6 Async Callbacks

Dim WithEvents mySecrets As ChilkatSecrets

Private Sub mySecrets_ProgressInfo(ByVal name As String, ByVal value As String)

	'Insert application code here.

End Sub
top