Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Keeper Secret Manager Security and Encryption Model

[_default]
clientkey = XXX
clientid = XXX
privatekey = XXX
appkey = XXX
hostname = US
serverpublickeyid = 10
[_config]
active_profile = _defaultMy Vault> secrets-manager client add --app MyApplication
Successfully generated Client Device
====================================
One-Time Access Token: PqwnPcUo2Wc3dv3zvu_zC3nHhNAbNWDfooECWMBTRJM
IP Lock: Enabled
Token Expires On: 2021-08-17 21:00:28
App Access Expires on: NeverMy Vault> secrets-manager client add --app MyApplication --unlock-ipMy Vault> secrets-manager app create DevOps
Application was successfully addedMy Vault> secrets-manager app list
List all Secrets Manager Applications
Title UID
----------------- ----------------------
DevOps fe6mv_ZBLqca35dBUTdNeQ
Examples Xym5lhpSidvtk9VlmV_3dQ
Github Actions L5FqK5DUJhxeCXp50nSkuw
Jenkind R2jMVW_QwL3FsCJziotpLQMy Vault> secrets-manager share add --app DevOps --secret XXX --editable
Successfully added secrets to app uid=XXX, editable=True:
RpdmKFgF5lpsaID3TcHu8A Shared FolderMy Vault> secrets-manager client add --app DevOps --name server1
Successfully generated Client Device
====================================
One-Time Access Token: US:19-V--cbg8P-o9OVDzMl_hWnrt-QE1eAMQHgSkQMUi0
Name: server1
IP Lock: Enabled
Token Expires On: 2021-10-01 11:14:18
App Access Expires on: Never

















from keeper_secrets_manager_core import SecretsManager
from keeper_secrets_manager_core.storage import FileKeyValueStorage
secrets_manager = SecretsManager(
token='<One Time Access Token>',
config=FileKeyValueStorage('config.json')
)# initialize a configuration in JSON format and display it
$ ksm init default <One Time Access Token>
# initialize a configuration in k8s format and display it
$ ksm init k8s <One Time Access Token>
# initialize a JSON configuration and save it to a file
$ ksm init default --plain <One Time Access Token> > <FILENAME># initialize a configuration in JSON and display it
$ ksm init default US:KBChlYeZ15wLzvhLVXmT61euw0DJO0cTVfkD-b-qesw
# initialize a configuration in k8s format and display it
$ ksm init k8s US:KBChlYeZ15wLzvhLVXmT61euw0DJO0cTVfkD-b-qesw
# initialize a configuration and save it to a file
$ ksm init default --plain US:KBChlYeZ15wLzvhLVXmT61euw0DJO0cTVfkD-b-qesw > "ksm-config.json"my vault> secrets-manager client add --app <APP NAME> --config-init <FORMAT># create a json configuration
secrets-manager client add --app MyApp --config-init json --unlock-ip
# create a base64 configuration
secrets-manager client add --app MyApp --config-init b64 --unlock-ip
# create a Kubernetes configuration
secrets-manager client add --app MyApp --config-init k8s --unlock-ip



"fields": [
{ "type": "name", "value": [
{"first:": "John", "last": "Doe"},
{"first:": "Jane", "last": "Doe"} ]
},
{ "type": "phone", "value": [
{"number": "555-5555555", "ext": "55"},
{"number": "777-7777777", "ext": "77"} ]
}
][
{"number": "555-5555555", "ext": "55"},
{"number": "777-7777777", "ext": "77"},
{"number": "888-8888888", "ext": "", "type": "Home"},
{"number": "999-9999999", "type": "Work"}
][
{"number": "123-456-7890", "type": "work"},
{"number": "555-555-5555", "type": "home"}
]
A reference of field and record types available to secrets manager.
















{"street1": "100 Main Street", "city": "Town", "state": "RI", "zip": "55555",
"country": "US"}{"accountType": "Checking", "routingNumber": "123456", "accountNumber": "55555555"}["OlLZ6JLjnyMOS3CiIPHBjw", "XJ2VISBJ3JAeCwU_YGAXYg"]{"hostName": "localhost", "port": "22"}{"publicKey": "PUBLIC KEY", "privateKey": "PRIVATE KEY"}{"first": "John", "middle": "Unknown", "last": "Smith"}{"cardNumber": "5555 5555 5555 5555", "cardExpirationDate": "01/2023",
"cardSecurityCode": "123"}[
{"region": "+1", "number": "555-555-5555", "ext": "1234", "type": "Work"},
{"number": "555-555-6666", "type": "Mobile"}
]{"question": "What Number?", "answer": "42"}My Vault> rti --format json -lr "My Custom" --output my_record_type.json
[
{
"recordTypeId": 18,
"content": "{\"$id\":\"My Custom\",\"categories\":[\"login\"],
\"description\":\"SSH key template\",\"fields\":
[{\"$ref\":\"login\"},
{\"$ref\":\"keyPair\"},
{\"$ref\":\"password\",\"label\":\"passphrase\"},
{\"$ref\":\"host\"},
{\"$ref\":\"fileRef\"}]}"
}
]