createDockerhubTarget is a command that creates a new target. [Deprecated: Use target-create-dockerhub command]
Name | Type | Description | Notes |
---|---|---|---|
comment | str | Deprecated - use description | [optional] |
description | str | Description of the object | [optional] |
dockerhub_password | str | Password for docker repository | [optional] |
dockerhub_username | str | Username for docker repository | [optional] |
var_json | bool | Set output format to JSON | [optional] [default to False] |
key | str | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
max_versions | str | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
name | str | Target name | |
token | str | Authentication token (see `/auth` and `/configure`) | [optional] |
uid_token | str | The universal identity token, Required only for universal_identity authentication | [optional] |
from akeyless.models.create_dockerhub_target import CreateDockerhubTarget
# TODO update the JSON string below
json = "{}"
# create an instance of CreateDockerhubTarget from a JSON string
create_dockerhub_target_instance = CreateDockerhubTarget.from_json(json)
# print the JSON string representation of the object
print(CreateDockerhubTarget.to_json())
# convert the object into a dict
create_dockerhub_target_dict = create_dockerhub_target_instance.to_dict()
# create an instance of CreateDockerhubTarget from a dict
create_dockerhub_target_from_dict = CreateDockerhubTarget.from_dict(create_dockerhub_target_dict)