Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for credential_provider (0.12 seconds)

  1. docs/sts/client-grants.py

    from botocore.session import get_session
    
    from client_grants import ClientGrantsCredentialProvider
    
    boto3.set_stream_logger('boto3.resources', logging.DEBUG)
    
    bc_session = get_session()
    bc_session.get_component('credential_provider').insert_before(
        'env',
        ClientGrantsCredentialProvider('NZLOOFRSluw9RfIkuHGqfk1HFp4a',
                                       '0Z4VTG8uJBSekn42HE40DK9vQb4a'),
    )
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 1.2K bytes
    - Click Count (0)
  2. docs/sts/client_grants/__init__.py

    # Dependencies
    import urllib3
    from botocore.credentials import CredentialProvider, RefreshableCredentials
    from botocore.exceptions import CredentialRetrievalError
    from dateutil.parser import parse
    
    from .sts_element import STSElement
    
    
    class ClientGrantsCredentialProvider(CredentialProvider):
        """
        ClientGrantsCredentialProvider implements CredentialProvider compatible
        implementation to be used with boto_session
        """
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 4.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/storage/S3StorageClient.java

            this.bucket = bucket;
    
            final AwsBasicCredentials credentials = AwsBasicCredentials.create(accessKey, secretKey);
            final S3ClientBuilder builder =
                    S3Client.builder().credentialsProvider(StaticCredentialsProvider.create(credentials)).region(Region.of(getRegion(region)));
    
            // For non-AWS endpoints (MinIO, etc.), set custom endpoint with path-style access
            if (StringUtil.isNotBlank(endpoint)) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 10.9K bytes
    - Click Count (0)
Back to Top