agent: |
ODAG8y10HJ6pzD44DuSHAdding, Deleting, Listing DagKnows Proxy credentials or key-value pairs
Adding, Deleting, Listing DagKnows Proxy credentials or key-value pairs
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.
inputs
outputs
- 1MHa0eVwrITA7fhaVhlJiList credentials
1
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.List all the credential labels available or accessible for users with a given proxy role
Inputs:
- proxyrole: The proxy role for which we want to list credential labels
inputsoutputsdkv credentials list --role <proxyrole>copied1 - 2hzaGuyOqYecVbBg767T0Add credentials
2
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.Using this task you can add credentials to the vault
Inputs:
- cred_label : Give a label to the credentials so that you can reference it in your code. No special characters.
- type: specify type of credentials [ssh, winrm, jwt, basicauth]
- username: some username with the credentials
- password: This should be password for ssh, winrm, basicauth or API token for basicauth or jwt
- proxyrole: The proxy role that has access to these credentials
inputsoutputscmd = f"dkv credentials add {cred_label} --role {proxyrole} --conn-type {cred_type} --username {username} --password {password}" op = _exe(None, cmd) print(op)copied2 - 3RnvBD5QtqQTAYj3aElVeDelete credentials
3
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.This command will delete credentials with a given credential label
Inputs:
- cred_label : The label of the credentials to delete
- proxyrole: The proxy role under which the credentials are available
inputsoutputsdkv credentials delete <cred_label> --role <proxyrole>copied3 - 4HJrg05yoBaybEOCuC4iHView credentials
4
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.This command allows you to view the stored credentials. Be very careful!
Inputs:
- cred_label: The label of the credential to view
- proxyrole: The proxy role under which the credentials are stored
inputsoutputsdkv credentials get <cred_label> --role <proxyrole>copied4 - 5M6cfEalzP17IPwTnRbmIList keys of the key-value pairs
5
List keys of the key-value pairs
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.This command allows you to list all the keys stored under a proxy role
Inputs:
- proxyrole: The proxy role under which the keys are stored
inputsoutputsdkv keys list --role <proxyrole>copied5 - 6Wbx5TcJjA7XBZLW7v5rZAdd a key-value pair
6
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.This command allows you to create a key-value pair
Inputs:
- key: The key to store
- value: The value associated with the key
- proxyrole: The role under which this key value pair is stored
inputsoutputsdkv keys set <key> --value <value> --role <proxyrole>copied6 - 7owt2js1uV3emq3I0A1BMGet the value of a key
7
There was a problem that the LLM was not able to address. Please rephrase your prompt and try again.This command allows you to get the value associated with a key
Inputs:
- key: The key to get value of
- proxyrole: The role under which this key value pair is stored
inputsoutputsdkv keys get <key> --role <proxyrole>copied7