Skip to content

hopsworks.secret #

[source] Secret #

Represents a secret in Hopsworks.

Use SecretsApi to manage secrets; namely you can create a secret with SecretsApi.create and get secrets with SecretsApi.get_secret and SecretsApi.get_secrets.

[source] name property #

Name of the secret.

[source] value property #

Value of the secret.

[source] created property #

Date when secret was created.

[source] visibility property #

Visibility of the secret.

[source] scope property #

Scope of the secret.

[source] owner property #

Owner of the secret.

[source] delete #

delete()

Delete the secret.

Potentially dangerous operation

This operation deletes the secret and may break applications using it.

RAISES DESCRIPTION
hopsworks.client.exceptions.RestAPIError

If the backend encounters an error when handling the request

[source] get_url #

get_url()

Get url to the secret in Hopsworks.