Skip to content

hopsworks.secret #

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.

name property #

Name of the secret.

value property #

Value of the secret.

created property #

Date when secret was created.

visibility property #

Visibility of the secret.

scope property #

Scope of the secret.

owner property #

Owner of the secret.

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

get_url #

get_url()

Get url to the secret in Hopsworks.