INNER CODE UNIT · Python

session

grycap/scar · scar/providers/aws/clients/__init__.py:39

        session = boto3.Session(**self.session_args)
        self.client_args['config'] = botocore.config.Config(read_timeout=self._READ_TIMEOUT)
        return session.client(self._BOTO_CLIENT_NAME, **self.client_args)

    def get_access_key(self) -> str:
        """Returns the access key belonging to the boto_profile used."""
        session = boto3.Session(**self.session_args)
        credentials = session.get_credentials()
        return credentials.access_key

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…