Delen via


Secret Class

Definition

Secret definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.SecretTypeConverter))]
public class Secret : Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISecret
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.SecretTypeConverter))>]
type Secret = class
    interface ISecret
    interface IJsonSerializable
Public Class Secret
Implements ISecret
Inheritance
Secret
Attributes
Implements

Constructors

Secret()

Creates an new Secret instance.

Properties

Identity

Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.

KeyVaultUrl

Azure Key Vault URL pointing to the secret referenced by the container app.

Name

Secret Name.

Value

Secret Value.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Secret.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Secret.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.ISecret.

FromJsonString(String)

Creates a new instance of Secret, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Secret into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to