# coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
from . import outputs

__all__ = [
    'GetStorageAccountCredentialResult',
    'AwaitableGetStorageAccountCredentialResult',
    'get_storage_account_credential',
    'get_storage_account_credential_output',
]

@pulumi.output_type
class GetStorageAccountCredentialResult:
    """
    The storage account credential
    """
    def __init__(__self__, access_key=None, cloud_type=None, enable_ssl=None, end_point=None, id=None, location=None, login=None, name=None, type=None):
        if access_key and not isinstance(access_key, dict):
            raise TypeError("Expected argument 'access_key' to be a dict")
        pulumi.set(__self__, "access_key", access_key)
        if cloud_type and not isinstance(cloud_type, str):
            raise TypeError("Expected argument 'cloud_type' to be a str")
        pulumi.set(__self__, "cloud_type", cloud_type)
        if enable_ssl and not isinstance(enable_ssl, str):
            raise TypeError("Expected argument 'enable_ssl' to be a str")
        pulumi.set(__self__, "enable_ssl", enable_ssl)
        if end_point and not isinstance(end_point, str):
            raise TypeError("Expected argument 'end_point' to be a str")
        pulumi.set(__self__, "end_point", end_point)
        if id and not isinstance(id, str):
            raise TypeError("Expected argument 'id' to be a str")
        pulumi.set(__self__, "id", id)
        if location and not isinstance(location, str):
            raise TypeError("Expected argument 'location' to be a str")
        pulumi.set(__self__, "location", location)
        if login and not isinstance(login, str):
            raise TypeError("Expected argument 'login' to be a str")
        pulumi.set(__self__, "login", login)
        if name and not isinstance(name, str):
            raise TypeError("Expected argument 'name' to be a str")
        pulumi.set(__self__, "name", name)
        if type and not isinstance(type, str):
            raise TypeError("Expected argument 'type' to be a str")
        pulumi.set(__self__, "type", type)

    @property
    @pulumi.getter(name="accessKey")
    def access_key(self) -> Optional['outputs.AsymmetricEncryptedSecretResponse']:
        """
        The details of the storage account password
        """
        return pulumi.get(self, "access_key")

    @property
    @pulumi.getter(name="cloudType")
    def cloud_type(self) -> str:
        """
        The cloud service provider
        """
        return pulumi.get(self, "cloud_type")

    @property
    @pulumi.getter(name="enableSSL")
    def enable_ssl(self) -> str:
        """
        SSL needs to be enabled or not
        """
        return pulumi.get(self, "enable_ssl")

    @property
    @pulumi.getter(name="endPoint")
    def end_point(self) -> str:
        """
        The storage endpoint
        """
        return pulumi.get(self, "end_point")

    @property
    @pulumi.getter
    def id(self) -> str:
        """
        The identifier.
        """
        return pulumi.get(self, "id")

    @property
    @pulumi.getter
    def location(self) -> Optional[str]:
        """
        The storage account's geo location
        """
        return pulumi.get(self, "location")

    @property
    @pulumi.getter
    def login(self) -> str:
        """
        The storage account login
        """
        return pulumi.get(self, "login")

    @property
    @pulumi.getter
    def name(self) -> str:
        """
        The name.
        """
        return pulumi.get(self, "name")

    @property
    @pulumi.getter
    def type(self) -> str:
        """
        The type.
        """
        return pulumi.get(self, "type")


class AwaitableGetStorageAccountCredentialResult(GetStorageAccountCredentialResult):
    # pylint: disable=using-constant-test
    def __await__(self):
        if False:
            yield self
        return GetStorageAccountCredentialResult(
            access_key=self.access_key,
            cloud_type=self.cloud_type,
            enable_ssl=self.enable_ssl,
            end_point=self.end_point,
            id=self.id,
            location=self.location,
            login=self.login,
            name=self.name,
            type=self.type)


def get_storage_account_credential(credential_name: Optional[str] = None,
                                   manager_name: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageAccountCredentialResult:
    """
    The storage account credential


    :param str credential_name: The name of storage account credential to be fetched.
    :param str manager_name: The manager name
    :param str resource_group_name: The resource group name
    """
    __args__ = dict()
    __args__['credentialName'] = credential_name
    __args__['managerName'] = manager_name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-native:storsimple/v20161001:getStorageAccountCredential', __args__, opts=opts, typ=GetStorageAccountCredentialResult).value

    return AwaitableGetStorageAccountCredentialResult(
        access_key=__ret__.access_key,
        cloud_type=__ret__.cloud_type,
        enable_ssl=__ret__.enable_ssl,
        end_point=__ret__.end_point,
        id=__ret__.id,
        location=__ret__.location,
        login=__ret__.login,
        name=__ret__.name,
        type=__ret__.type)


@_utilities.lift_output_func(get_storage_account_credential)
def get_storage_account_credential_output(credential_name: Optional[pulumi.Input[str]] = None,
                                          manager_name: Optional[pulumi.Input[str]] = None,
                                          resource_group_name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageAccountCredentialResult]:
    """
    The storage account credential


    :param str credential_name: The name of storage account credential to be fetched.
    :param str manager_name: The manager name
    :param str resource_group_name: The resource group name
    """
    ...

ef87b0a58b48e0ef1e91d0616063b5e8d987d9eb
<mask token>


@pulumi.output_type
class GetStorageAccountCredentialResult:
    <mask token>

    def __init__(__self__, access_key=None, cloud_type=None, enable_ssl=
        None, end_point=None, id=None, location=None, login=None, name=None,
        type=None):
        if access_key and not isinstance(access_key, dict):
            raise TypeError("Expected argument 'access_key' to be a dict")
        pulumi.set(__self__, 'access_key', access_key)
        if cloud_type and not isinstance(cloud_type, str):
            raise TypeError("Expected argument 'cloud_type' to be a str")
        pulumi.set(__self__, 'cloud_type', cloud_type)
        if enable_ssl and not isinstance(enable_ssl, str):
            raise TypeError("Expected argument 'enable_ssl' to be a str")
        pulumi.set(__self__, 'enable_ssl', enable_ssl)
        if end_point and not isinstance(end_point, str):
            raise TypeError("Expected argument 'end_point' to be a str")
        pulumi.set(__self__, 'end_point', end_point)
        if id and not isinstance(id, str):
            raise TypeError("Expected argument 'id' to be a str")
        pulumi.set(__self__, 'id', id)
        if location and not isinstance(location, str):
            raise TypeError("Expected argument 'location' to be a str")
        pulumi.set(__self__, 'location', location)
        if login and not isinstance(login, str):
            raise TypeError("Expected argument 'login' to be a str")
        pulumi.set(__self__, 'login', login)
        if name and not isinstance(name, str):
            raise TypeError("Expected argument 'name' to be a str")
        pulumi.set(__self__, 'name', name)
        if type and not isinstance(type, str):
            raise TypeError("Expected argument 'type' to be a str")
        pulumi.set(__self__, 'type', type)

    @property
    @pulumi.getter(name='accessKey')
    def access_key(self) ->Optional['outputs.AsymmetricEncryptedSecretResponse'
        ]:
        """
        The details of the storage account password
        """
        return pulumi.get(self, 'access_key')

    @property
    @pulumi.getter(name='cloudType')
    def cloud_type(self) ->str:
        """
        The cloud service provider
        """
        return pulumi.get(self, 'cloud_type')
    <mask token>

    @property
    @pulumi.getter(name='endPoint')
    def end_point(self) ->str:
        """
        The storage endpoint
        """
        return pulumi.get(self, 'end_point')

    @property
    @pulumi.getter
    def id(self) ->str:
        """
        The identifier.
        """
        return pulumi.get(self, 'id')

    @property
    @pulumi.getter
    def location(self) ->Optional[str]:
        """
        The storage account's geo location
        """
        return pulumi.get(self, 'location')

    @property
    @pulumi.getter
    def login(self) ->str:
        """
        The storage account login
        """
        return pulumi.get(self, 'login')

    @property
    @pulumi.getter
    def name(self) ->str:
        """
        The name.
        """
        return pulumi.get(self, 'name')

    @property
    @pulumi.getter
    def type(self) ->str:
        """
        The type.
        """
        return pulumi.get(self, 'type')


class AwaitableGetStorageAccountCredentialResult(
    GetStorageAccountCredentialResult):

    def __await__(self):
        if False:
            yield self
        return GetStorageAccountCredentialResult(access_key=self.access_key,
            cloud_type=self.cloud_type, enable_ssl=self.enable_ssl,
            end_point=self.end_point, id=self.id, location=self.location,
            login=self.login, name=self.name, type=self.type)


<mask token>

<mask token>


@pulumi.output_type
class GetStorageAccountCredentialResult:
    <mask token>

    def __init__(__self__, access_key=None, cloud_type=None, enable_ssl=
        None, end_point=None, id=None, location=None, login=None, name=None,
        type=None):
        if access_key and not isinstance(access_key, dict):
            raise TypeError("Expected argument 'access_key' to be a dict")
        pulumi.set(__self__, 'access_key', access_key)
        if cloud_type and not isinstance(cloud_type, str):
            raise TypeError("Expected argument 'cloud_type' to be a str")
        pulumi.set(__self__, 'cloud_type', cloud_type)
        if enable_ssl and not isinstance(enable_ssl, str):
            raise TypeError("Expected argument 'enable_ssl' to be a str")
        pulumi.set(__self__, 'enable_ssl', enable_ssl)
        if end_point and not isinstance(end_point, str):
            raise TypeError("Expected argument 'end_point' to be a str")
        pulumi.set(__self__, 'end_point', end_point)
        if id and not isinstance(id, str):
            raise TypeError("Expected argument 'id' to be a str")
        pulumi.set(__self__, 'id', id)
        if location and not isinstance(location, str):
            raise TypeError("Expected argument 'location' to be a str")
        pulumi.set(__self__, 'location', location)
        if login and not isinstance(login, str):
            raise TypeError("Expected argument 'login' to be a str")
        pulumi.set(__self__, 'login', login)
        if name and not isinstance(name, str):
            raise TypeError("Expected argument 'name' to be a str")
        pulumi.set(__self__, 'name', name)
        if type and not isinstance(type, str):
            raise TypeError("Expected argument 'type' to be a str")
        pulumi.set(__self__, 'type', type)

    @property
    @pulumi.getter(name='accessKey')
    def access_key(self) ->Optional['outputs.AsymmetricEncryptedSecretResponse'
        ]:
        """
        The details of the storage account password
        """
        return pulumi.get(self, 'access_key')

    @property
    @pulumi.getter(name='cloudType')
    def cloud_type(self) ->str:
        """
        The cloud service provider
        """
        return pulumi.get(self, 'cloud_type')

    @property
    @pulumi.getter(name='enableSSL')
    def enable_ssl(self) ->str:
        """
        SSL needs to be enabled or not
        """
        return pulumi.get(self, 'enable_ssl')

    @property
    @pulumi.getter(name='endPoint')
    def end_point(self) ->str:
        """
        The storage endpoint
        """
        return pulumi.get(self, 'end_point')

    @property
    @pulumi.getter
    def id(self) ->str:
        """
        The identifier.
        """
        return pulumi.get(self, 'id')

    @property
    @pulumi.getter
    def location(self) ->Optional[str]:
        """
        The storage account's geo location
        """
        return pulumi.get(self, 'location')

    @property
    @pulumi.getter
    def login(self) ->str:
        """
        The storage account login
        """
        return pulumi.get(self, 'login')

    @property
    @pulumi.getter
    def name(self) ->str:
        """
        The name.
        """
        return pulumi.get(self, 'name')

    @property
    @pulumi.getter
    def type(self) ->str:
        """
        The type.
        """
        return pulumi.get(self, 'type')


class AwaitableGetStorageAccountCredentialResult(
    GetStorageAccountCredentialResult):

    def __await__(self):
        if False:
            yield self
        return GetStorageAccountCredentialResult(access_key=self.access_key,
            cloud_type=self.cloud_type, enable_ssl=self.enable_ssl,
            end_point=self.end_point, id=self.id, location=self.location,
            login=self.login, name=self.name, type=self.type)


<mask token>

<mask token>


@pulumi.output_type
class GetStorageAccountCredentialResult:
    """
    The storage account credential
    """

    def __init__(__self__, access_key=None, cloud_type=None, enable_ssl=
        None, end_point=None, id=None, location=None, login=None, name=None,
        type=None):
        if access_key and not isinstance(access_key, dict):
            raise TypeError("Expected argument 'access_key' to be a dict")
        pulumi.set(__self__, 'access_key', access_key)
        if cloud_type and not isinstance(cloud_type, str):
            raise TypeError("Expected argument 'cloud_type' to be a str")
        pulumi.set(__self__, 'cloud_type', cloud_type)
        if enable_ssl and not isinstance(enable_ssl, str):
            raise TypeError("Expected argument 'enable_ssl' to be a str")
        pulumi.set(__self__, 'enable_ssl', enable_ssl)
        if end_point and not isinstance(end_point, str):
            raise TypeError("Expected argument 'end_point' to be a str")
        pulumi.set(__self__, 'end_point', end_point)
        if id and not isinstance(id, str):
            raise TypeError("Expected argument 'id' to be a str")
        pulumi.set(__self__, 'id', id)
        if location and not isinstance(location, str):
            raise TypeError("Expected argument 'location' to be a str")
        pulumi.set(__self__, 'location', location)
        if login and not isinstance(login, str):
            raise TypeError("Expected argument 'login' to be a str")
        pulumi.set(__self__, 'login', login)
        if name and not isinstance(name, str):
            raise TypeError("Expected argument 'name' to be a str")
        pulumi.set(__self__, 'name', name)
        if type and not isinstance(type, str):
            raise TypeError("Expected argument 'type' to be a str")
        pulumi.set(__self__, 'type', type)

    @property
    @pulumi.getter(name='accessKey')
    def access_key(self) ->Optional['outputs.AsymmetricEncryptedSecretResponse'
        ]:
        """
        The details of the storage account password
        """
        return pulumi.get(self, 'access_key')

    @property
    @pulumi.getter(name='cloudType')
    def cloud_type(self) ->str:
        """
        The cloud service provider
        """
        return pulumi.get(self, 'cloud_type')

    @property
    @pulumi.getter(name='enableSSL')
    def enable_ssl(self) ->str:
        """
        SSL needs to be enabled or not
        """
        return pulumi.get(self, 'enable_ssl')

    @property
    @pulumi.getter(name='endPoint')
    def end_point(self) ->str:
        """
        The storage endpoint
        """
        return pulumi.get(self, 'end_point')

    @property
    @pulumi.getter
    def id(self) ->str:
        """
        The identifier.
        """
        return pulumi.get(self, 'id')

    @property
    @pulumi.getter
    def location(self) ->Optional[str]:
        """
        The storage account's geo location
        """
        return pulumi.get(self, 'location')

    @property
    @pulumi.getter
    def login(self) ->str:
        """
        The storage account login
        """
        return pulumi.get(self, 'login')

    @property
    @pulumi.getter
    def name(self) ->str:
        """
        The name.
        """
        return pulumi.get(self, 'name')

    @property
    @pulumi.getter
    def type(self) ->str:
        """
        The type.
        """
        return pulumi.get(self, 'type')


class AwaitableGetStorageAccountCredentialResult(
    GetStorageAccountCredentialResult):

    def __await__(self):
        if False:
            yield self
        return GetStorageAccountCredentialResult(access_key=self.access_key,
            cloud_type=self.cloud_type, enable_ssl=self.enable_ssl,
            end_point=self.end_point, id=self.id, location=self.location,
            login=self.login, name=self.name, type=self.type)


<mask token>

<mask token>
__all__ = ['GetStorageAccountCredentialResult',
    'AwaitableGetStorageAccountCredentialResult',
    'get_storage_account_credential', 'get_storage_account_credential_output']


@pulumi.output_type
class GetStorageAccountCredentialResult:
    """
    The storage account credential
    """

    def __init__(__self__, access_key=None, cloud_type=None, enable_ssl=
        None, end_point=None, id=None, location=None, login=None, name=None,
        type=None):
        if access_key and not isinstance(access_key, dict):
            raise TypeError("Expected argument 'access_key' to be a dict")
        pulumi.set(__self__, 'access_key', access_key)
        if cloud_type and not isinstance(cloud_type, str):
            raise TypeError("Expected argument 'cloud_type' to be a str")
        pulumi.set(__self__, 'cloud_type', cloud_type)
        if enable_ssl and not isinstance(enable_ssl, str):
            raise TypeError("Expected argument 'enable_ssl' to be a str")
        pulumi.set(__self__, 'enable_ssl', enable_ssl)
        if end_point and not isinstance(end_point, str):
            raise TypeError("Expected argument 'end_point' to be a str")
        pulumi.set(__self__, 'end_point', end_point)
        if id and not isinstance(id, str):
            raise TypeError("Expected argument 'id' to be a str")
        pulumi.set(__self__, 'id', id)
        if location and not isinstance(location, str):
            raise TypeError("Expected argument 'location' to be a str")
        pulumi.set(__self__, 'location', location)
        if login and not isinstance(login, str):
            raise TypeError("Expected argument 'login' to be a str")
        pulumi.set(__self__, 'login', login)
        if name and not isinstance(name, str):
            raise TypeError("Expected argument 'name' to be a str")
        pulumi.set(__self__, 'name', name)
        if type and not isinstance(type, str):
            raise TypeError("Expected argument 'type' to be a str")
        pulumi.set(__self__, 'type', type)

    @property
    @pulumi.getter(name='accessKey')
    def access_key(self) ->Optional['outputs.AsymmetricEncryptedSecretResponse'
        ]:
        """
        The details of the storage account password
        """
        return pulumi.get(self, 'access_key')

    @property
    @pulumi.getter(name='cloudType')
    def cloud_type(self) ->str:
        """
        The cloud service provider
        """
        return pulumi.get(self, 'cloud_type')

    @property
    @pulumi.getter(name='enableSSL')
    def enable_ssl(self) ->str:
        """
        SSL needs to be enabled or not
        """
        return pulumi.get(self, 'enable_ssl')

    @property
    @pulumi.getter(name='endPoint')
    def end_point(self) ->str:
        """
        The storage endpoint
        """
        return pulumi.get(self, 'end_point')

    @property
    @pulumi.getter
    def id(self) ->str:
        """
        The identifier.
        """
        return pulumi.get(self, 'id')

    @property
    @pulumi.getter
    def location(self) ->Optional[str]:
        """
        The storage account's geo location
        """
        return pulumi.get(self, 'location')

    @property
    @pulumi.getter
    def login(self) ->str:
        """
        The storage account login
        """
        return pulumi.get(self, 'login')

    @property
    @pulumi.getter
    def name(self) ->str:
        """
        The name.
        """
        return pulumi.get(self, 'name')

    @property
    @pulumi.getter
    def type(self) ->str:
        """
        The type.
        """
        return pulumi.get(self, 'type')


class AwaitableGetStorageAccountCredentialResult(
    GetStorageAccountCredentialResult):

    def __await__(self):
        if False:
            yield self
        return GetStorageAccountCredentialResult(access_key=self.access_key,
            cloud_type=self.cloud_type, enable_ssl=self.enable_ssl,
            end_point=self.end_point, id=self.id, location=self.location,
            login=self.login, name=self.name, type=self.type)


def get_storage_account_credential(credential_name: Optional[str]=None,
    manager_name: Optional[str]=None, resource_group_name: Optional[str]=
    None, opts: Optional[pulumi.InvokeOptions]=None
    ) ->AwaitableGetStorageAccountCredentialResult:
    """
    The storage account credential


    :param str credential_name: The name of storage account credential to be fetched.
    :param str manager_name: The manager name
    :param str resource_group_name: The resource group name
    """
    __args__ = dict()
    __args__['credentialName'] = credential_name
    __args__['managerName'] = manager_name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke(
        'azure-native:storsimple/v20161001:getStorageAccountCredential',
        __args__, opts=opts, typ=GetStorageAccountCredentialResult).value
    return AwaitableGetStorageAccountCredentialResult(access_key=__ret__.
        access_key, cloud_type=__ret__.cloud_type, enable_ssl=__ret__.
        enable_ssl, end_point=__ret__.end_point, id=__ret__.id, location=
        __ret__.location, login=__ret__.login, name=__ret__.name, type=
        __ret__.type)


@_utilities.lift_output_func(get_storage_account_credential)
def get_storage_account_credential_output(credential_name: Optional[pulumi.
    Input[str]]=None, manager_name: Optional[pulumi.Input[str]]=None,
    resource_group_name: Optional[pulumi.Input[str]]=None, opts: Optional[
    pulumi.InvokeOptions]=None) ->pulumi.Output[
    GetStorageAccountCredentialResult]:
    """
    The storage account credential


    :param str credential_name: The name of storage account credential to be fetched.
    :param str manager_name: The manager name
    :param str resource_group_name: The resource group name
    """
    ...

# coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from ... import _utilities
from . import outputs

__all__ = [
    'GetStorageAccountCredentialResult',
    'AwaitableGetStorageAccountCredentialResult',
    'get_storage_account_credential',
    'get_storage_account_credential_output',
]

@pulumi.output_type
class GetStorageAccountCredentialResult:
    """
    The storage account credential
    """
    def __init__(__self__, access_key=None, cloud_type=None, enable_ssl=None, end_point=None, id=None, location=None, login=None, name=None, type=None):
        if access_key and not isinstance(access_key, dict):
            raise TypeError("Expected argument 'access_key' to be a dict")
        pulumi.set(__self__, "access_key", access_key)
        if cloud_type and not isinstance(cloud_type, str):
            raise TypeError("Expected argument 'cloud_type' to be a str")
        pulumi.set(__self__, "cloud_type", cloud_type)
        if enable_ssl and not isinstance(enable_ssl, str):
            raise TypeError("Expected argument 'enable_ssl' to be a str")
        pulumi.set(__self__, "enable_ssl", enable_ssl)
        if end_point and not isinstance(end_point, str):
            raise TypeError("Expected argument 'end_point' to be a str")
        pulumi.set(__self__, "end_point", end_point)
        if id and not isinstance(id, str):
            raise TypeError("Expected argument 'id' to be a str")
        pulumi.set(__self__, "id", id)
        if location and not isinstance(location, str):
            raise TypeError("Expected argument 'location' to be a str")
        pulumi.set(__self__, "location", location)
        if login and not isinstance(login, str):
            raise TypeError("Expected argument 'login' to be a str")
        pulumi.set(__self__, "login", login)
        if name and not isinstance(name, str):
            raise TypeError("Expected argument 'name' to be a str")
        pulumi.set(__self__, "name", name)
        if type and not isinstance(type, str):
            raise TypeError("Expected argument 'type' to be a str")
        pulumi.set(__self__, "type", type)

    @property
    @pulumi.getter(name="accessKey")
    def access_key(self) -> Optional['outputs.AsymmetricEncryptedSecretResponse']:
        """
        The details of the storage account password
        """
        return pulumi.get(self, "access_key")

    @property
    @pulumi.getter(name="cloudType")
    def cloud_type(self) -> str:
        """
        The cloud service provider
        """
        return pulumi.get(self, "cloud_type")

    @property
    @pulumi.getter(name="enableSSL")
    def enable_ssl(self) -> str:
        """
        SSL needs to be enabled or not
        """
        return pulumi.get(self, "enable_ssl")

    @property
    @pulumi.getter(name="endPoint")
    def end_point(self) -> str:
        """
        The storage endpoint
        """
        return pulumi.get(self, "end_point")

    @property
    @pulumi.getter
    def id(self) -> str:
        """
        The identifier.
        """
        return pulumi.get(self, "id")

    @property
    @pulumi.getter
    def location(self) -> Optional[str]:
        """
        The storage account's geo location
        """
        return pulumi.get(self, "location")

    @property
    @pulumi.getter
    def login(self) -> str:
        """
        The storage account login
        """
        return pulumi.get(self, "login")

    @property
    @pulumi.getter
    def name(self) -> str:
        """
        The name.
        """
        return pulumi.get(self, "name")

    @property
    @pulumi.getter
    def type(self) -> str:
        """
        The type.
        """
        return pulumi.get(self, "type")


class AwaitableGetStorageAccountCredentialResult(GetStorageAccountCredentialResult):
    # pylint: disable=using-constant-test
    def __await__(self):
        if False:
            yield self
        return GetStorageAccountCredentialResult(
            access_key=self.access_key,
            cloud_type=self.cloud_type,
            enable_ssl=self.enable_ssl,
            end_point=self.end_point,
            id=self.id,
            location=self.location,
            login=self.login,
            name=self.name,
            type=self.type)


def get_storage_account_credential(credential_name: Optional[str] = None,
                                   manager_name: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageAccountCredentialResult:
    """
    The storage account credential


    :param str credential_name: The name of storage account credential to be fetched.
    :param str manager_name: The manager name
    :param str resource_group_name: The resource group name
    """
    __args__ = dict()
    __args__['credentialName'] = credential_name
    __args__['managerName'] = manager_name
    __args__['resourceGroupName'] = resource_group_name
    if opts is None:
        opts = pulumi.InvokeOptions()
    if opts.version is None:
        opts.version = _utilities.get_version()
    __ret__ = pulumi.runtime.invoke('azure-native:storsimple/v20161001:getStorageAccountCredential', __args__, opts=opts, typ=GetStorageAccountCredentialResult).value

    return AwaitableGetStorageAccountCredentialResult(
        access_key=__ret__.access_key,
        cloud_type=__ret__.cloud_type,
        enable_ssl=__ret__.enable_ssl,
        end_point=__ret__.end_point,
        id=__ret__.id,
        location=__ret__.location,
        login=__ret__.login,
        name=__ret__.name,
        type=__ret__.type)


@_utilities.lift_output_func(get_storage_account_credential)
def get_storage_account_credential_output(credential_name: Optional[pulumi.Input[str]] = None,
                                          manager_name: Optional[pulumi.Input[str]] = None,
                                          resource_group_name: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetStorageAccountCredentialResult]:
    """
    The storage account credential


    :param str credential_name: The name of storage account credential to be fetched.
    :param str manager_name: The manager name
    :param str resource_group_name: The resource group name
    """
    ...
