Skip to content

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

get_signed_url(rse, service, operation, url, lifetime=3600)

Return a signed version of the given URL for the given operation.

Parameters:

Name Type Description Default
rse str

The name of the RSE the URL points to.

required
service str

The service the URL points to (gcs, s3, swift)

required
operation str

The desired operation (read, write, delete)

required
url str

The URL to sign

required
lifetime int

The desired lifetime of the URL in seconds

3600

Returns:

Type Description
str

The signed URL string