lakefs.config module¶
Client configuration module
- class lakefs.config.ClientConfig(verify_ssl=None, proxy=None, **kwargs)[source]¶
Bases:
Configuration
Configuration class for the SDK Client. Instantiation will try to get authentication methods using the following chain:
Provided kwargs to __init__ func (should contain necessary credentials as defined in lakefs_sdk.Configuration)
Use LAKECTL_SERVER_ENDPOINT_URL, LAKECTL_ACCESS_KEY_ID and LAKECTL_ACCESS_SECRET_KEY if set
Try to read ~/.lakectl.yaml if exists
TBD: try and use IAM role from current machine (using AWS IAM role will work only with enterprise/cloud)
This class also encapsulates the required lakectl configuration for authentication and used to unmarshall the lakectl yaml file.
- class Credentials(**kwargs)[source]¶
Bases:
LenientNamedTuple
lakectl configuration’s credentials block
-
access_key_id:
str
¶
-
secret_access_key:
str
¶
-
access_key_id:
- class Server(**kwargs)[source]¶
Bases:
LenientNamedTuple
lakectl configuration’s server block
-
endpoint_url:
str
¶
-
endpoint_url:
- credentials: Credentials¶
- server: Server¶