Interface SecretPropertyFormat

    • Method Detail

      • decode

        SecretBuilder decode​(String propertyValue)
                      throws NoSuchSecretException
        Decodes the input property value, setting relevant properties on a SecretBuilder object.
        Parameters:
        propertyValue - the value of the secret property.
        Returns:
        the decoded secret information.
        Throws:
        NoSuchSecretException - If the property value does not contain a value that can be decoded.
      • decodeToPromise

        default Promise<SecretBuilder,​NoSuchSecretException> decodeToPromise​(String propertyValue)
        Decodes the input property value, setting relevant properties on a SecretBuilder object.
        Parameters:
        propertyValue - the value of the secret property.
        Returns:
        a promise of the decoded secret information.