CreateSecretRequest

Properties

Name

Type

Description

Notes

secret_id

str

The ID (name) of the secret

secret_value

Dict[str, object]

The secret data

secret_type

str

The type of the secret (e.g., s3, gcs, azure_blob)

[optional]

Example

from h2ogpte.rest_sync.models.create_secret_request import CreateSecretRequest

# TODO update the JSON string below
json = "{}"
# create an instance of CreateSecretRequest from a JSON string
create_secret_request_instance = CreateSecretRequest.from_json(json)
# print the JSON string representation of the object
print(CreateSecretRequest.to_json())

# convert the object into a dict
create_secret_request_dict = create_secret_request_instance.to_dict()
# create an instance of CreateSecretRequest from a dict
create_secret_request_from_dict = CreateSecretRequest.from_dict(create_secret_request_dict)