Credentialclient
Classes¶
CredentialClient ¶
CredentialClient(
rucio_host=None,
auth_host=None,
account=None,
ca_cert=None,
auth_type=None,
creds=None,
timeout=600,
user_agent="rucio-clients",
vo=None,
logger=LOG,
)
Credential client class for working with URL signing
Functions¶
get_signed_url ¶
get_signed_url(rse, service, operation, url, lifetime=3600)
Return a signed version of the given URL for the given operation.
PARAMETER | DESCRIPTION |
---|---|
rse
|
The name of the RSE the URL points to.
TYPE:
|
service
|
The service the URL points to (gcs, s3, swift)
TYPE:
|
operation
|
The desired operation (read, write, delete)
TYPE:
|
url
|
The URL to sign
TYPE:
|
lifetime
|
The desired lifetime of the URL in seconds
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
str
|
The signed URL string |