create_keychain¶
Create a new Keychain
create_keychain | |
---|---|
Supported platforms | ios, android, mac |
Author | @gin0606 |
1 Example¶
create_keychain(
name: "KeychainName",
default_keychain: true,
unlock: true,
timeout: 3600,
lock_when_sleeps: true
)
Parameters¶
Key | Description | Default |
---|---|---|
name |
Keychain name | |
path |
Path to keychain | |
password |
Password for the keychain | |
default_keychain |
Should the newly created Keychain be the new system default keychain | false |
unlock |
Unlock keychain after create | false |
timeout |
timeout interval in seconds. Set false if you want to specify "no time-out" |
300 |
lock_when_sleeps |
Lock keychain when the system sleeps | false |
lock_after_timeout |
Lock keychain after timeout interval | false |
add_to_search_list |
Add keychain to search list | true |
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action create_keychain