Cloud Keys 2020 Delphi Edition

Questions / Feedback?

UpdateSecret Method

Updates a secret's information.

procedure UpdateSecret(SecretName: String; ContentType: String; UpdateTags: Boolean);

Remarks

This method updates the information for the secret specified by SecretName. The VersionId configuration setting can be used to target a specific secret version.

The ContentType parameter, if non-empty, can be any string value. If empty, the secret's current content type is left unchanged. (To explicitly clear the secret's content type, pass %CLEAR%).

The UpdateTags parameter determines whether the component replaces the secret's current tags with the items in the Tag* properties (which may be empty). Secrets may have up to 15 tags.

The ExpiryDate and NotBeforeDate configuration settings may also be used to send additional values, refer to their documentation for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Keys 2020 Delphi Edition - Version 20.0 [Build 8157]