juju/client/_client7.py
async def CredentialContents(self, credentials=None, include_secrets=None):
        '''
        CredentialContents returns the specified cloud credentials,
        including the secrets if requested.
        If no specific credential name/cloud was passed in, all credentials for this user
        are returned.
        Only credential owner can see its contents as well as what models use it.
        Controller admin has no special superpowers here and is treated the same as all other users.

        credentials : typing.Sequence[~CloudCredentialArg]
        include_secrets : bool
        Returns -> CredentialContentResults
        '''
        if credentials is not None and not isinstance(credentials, (bytes, str, list)):
            raise Exception("Expected credentials to be a Sequence, received: {}".format(type(credentials)))

        if include_secrets is not None and not isinstance(include_secrets, bool):
            raise Exception("Expected include_secrets to be a bool, received: {}".format(type(include_secrets)))

        # map input types to rpc msg
        _params = dict()
        msg = dict(type='Cloud',
                   request='CredentialContents',
                   version=7,
                   params=_params)
        _params['credentials'] = credentials
        _params['include-secrets'] = include_secrets
        reply = await self.rpc(msg)
        return reply

        CredentialContents returns the specified cloud credentials,
        including the secrets if requested.
        If no specific credential name/cloud was passed in, all credentials for this user
        are returned.
        Only credential owner can see its contents as well as what models use it.
        Controller admin has no special superpowers here and is treated the same as all other users.

        credentials : typing.Sequence[~CloudCredentialArg]
        include_secrets : bool
        Returns -> CredentialContentResults
        
CredentialContents returns the specified cloud credentials,
including the secrets if requested.
If no specific credential name/cloud was passed in, all credentials for this user
are returned.
Only credential owner can see its contents as well as what models use it.
Controller admin has no special superpowers here and is treated the same as all other users.


CredentialContents returns the specified cloud credentials including the secrets if requested . If no specific credential name / cloud was passed in all credentials for this user are returned . Only credential owner can see its contents as well as what models use it . Controller admin has no special superpowers here and is treated the same as all other users .
async def CredentialContents(self, credentials=None, include_secrets=None):
        if credentials is not None and not isinstance(credentials, (bytes, str, list)):
            raise Exception("Expected credentials to be a Sequence, received: {}".format(type(credentials)))
        if include_secrets is not None and not isinstance(include_secrets, bool):
            raise Exception("Expected include_secrets to be a bool, received: {}".format(type(include_secrets)))
        _params = dict()
        msg = dict(type='Cloud',
                   request='CredentialContents',
                   version=7,
                   params=_params)
        _params['credentials'] = credentials
        _params['include-secrets'] = include_secrets
        reply = await self.rpc(msg)
        return reply
async def CredentialContents ( self , credentials = None , include_secrets = None ) : if credentials is not None and not isinstance ( credentials , ( bytes , str , list ) ) : raise Exception ( "Expected credentials to be a Sequence, received: {}" . format ( type ( credentials ) ) ) if include_secrets is not None and not isinstance ( include_secrets , bool ) : raise Exception ( "Expected include_secrets to be a bool, received: {}" . format ( type ( include_secrets ) ) ) _params = dict ( ) msg = dict ( type = 'Cloud' , request = 'CredentialContents' , version = 7 , params = _params ) _params [ 'credentials' ] = credentials _params [ 'include-secrets' ] = include_secrets reply = await self . rpc ( msg ) return reply
CredentialContents returns the specified cloud credentials,
including the secrets if requested.
CredentialContents returns the specified cloud credentials including the secrets if requested .
'''
        CredentialContents returns the specified cloud credentials,
        including the secrets if requested.
        If no specific credential name/cloud was passed in, all credentials for this user
        are returned.
        Only credential owner can see its contents as well as what models use it.
        Controller admin has no special superpowers here and is treated the same as all other users.

        credentials : typing.Sequence[~CloudCredentialArg]
        include_secrets : bool
        Returns -> CredentialContentResults
        ''' # map input types to rpc msg
self
credentials
include_secrets