Credentials

class Credentials(session_kwargs, client, return_type='raw')

Civis API /credentials endpoint.

Methods

delete(id)

Delete a credential

delete_shares_groups(id, group_id)

Revoke the permissions a group has on this object

delete_shares_users(id, user_id)

Revoke the permissions a user has on this object

get(id)

Get a credential

list(*[, type, remote_host_id, default, ...])

List credentials

list_dependencies(id, *[, user_id])

List dependent objects for this object

list_shares(id)

List users and groups permissioned on this object

list_types()

Get list of Credential Types

patch(id, *[, name, type, description, ...])

Update some attributes of a credential

post(type, username, password, *[, name, ...])

Create a credential

post_authenticate(url, remote_host_type, ...)

Authenticate against a remote host

post_temporary(id, *[, duration])

Generate a temporary credential for accessing S3

put(id, type, username, password, *[, name, ...])

Update an existing credential

put_shares_groups(id, group_ids, ...[, ...])

Set the permissions groups has on this object

put_shares_users(id, user_ids, ...[, ...])

Set the permissions users have on this object

put_transfer(id, user_id, ...[, email_body, ...])

Transfer ownership of this object to another user