Interface Secret Provider in 26

App
System Application
Namespace
System.Security
Obsolete
Pending 24.0. Replaced by Secret Provider v2 with support for SecretValue as SecretText data type.

Procedures, 1

Versions171819202122232425262728latest

Source242526

Source in 26

src/System Application/App/Secrets/src/SecretProvider.Interface.al28 lines, Copyright (c) Microsoft Corporation. MIT

#if not CLEAN24
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------

namespace System.Security;

/// <summary>
/// Abstraction for secret providers.
/// </summary>
interface "Secret Provider"
{

    ObsoleteReason = 'Replaced by Secret Provider v2 with support for SecretValue as SecretText data type.';
    ObsoleteState = Pending;
    ObsoleteTag = '24.0';

    /// <summary>
    /// Retrieves a secret value.
    /// </summary>
    /// <param name="SecretName">The name of the secret to retrieve.</param>
    /// <param name="SecretValue">The value of the secret, or the empty string if the value could not be retrieved.</param>
    /// <returns>True if the secret value could be retrieved; false otherwise.</returns>
    procedure GetSecret(SecretName: Text; var SecretValue: Text): Boolean
}
#endif

Procedures, 1

NameParametersReturnsAccessObsolete
GetSecret(Text, var Text)Booleanpublic-