def get_credentials(self, region_name=None):
        """Get the underlying `botocore.Credentials` object.

        This contains the following authentication attributes: access_key, secret_key and token.
        """
        session, _ = self._get_credentials(region_name)
        # Credentials are refreshable, so accessing your access key and
        # secret key separately can lead to a race condition.
        # See https://stackoverflow.com/a/36291428/8283373
        return session.get_credentials().get_frozen_credentials()
def get_credentials(self, region_name=None):
        
        session, _ = self._get_credentials(region_name)
        
        
        
        return session.get_credentials().get_frozen_credentials()
def get_credentials ( self , region_name = None ) : session , _ = self . _get_credentials ( region_name ) # Credentials are refreshable, so accessing your access key and # secret key separately can lead to a race condition. # See https://stackoverflow.com/a/36291428/8283373 return session . get_credentials ( ) . get_frozen_credentials ( )
Get the underlying `botocore.Credentials` object.

        This contains the following authentication attributes: access_key, secret_key and token.
Get the underlying botocore . Credentials object .