Enum CredentialType

    • Enum Constant Detail

      • SHARED_KEY_CREDENTIAL

        public static final CredentialType SHARED_KEY_CREDENTIAL
        Shared key credential
        See Also:
        StorageSharedKeyCredential
      • SHARED_ACCOUNT_KEY

        public static final CredentialType SHARED_ACCOUNT_KEY
        storage shared account key
      • AZURE_IDENTITY

        public static final CredentialType AZURE_IDENTITY
        Includes:
        • Service principal with secret
        • Service principal with certificate
        • username and password
        See Also:
        DefaultAzureCredentialBuilder
    • Method Detail

      • values

        public static CredentialType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (CredentialType c : CredentialType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static CredentialType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null