CLI Configuration
I have this. Just give me the steps...
Static Credential Tool
wget https://raw.githubusercontent.com/tuono/tuono-open-tools/main/tuono_credential_add.py \
&& chmod +x tuono_credential_add.py./tuono_credential_add.py \
--username '<tuono_username>' \
--venue 'azure' \
--subscription '<azure_subscription>' \
--app_name '<new_app_name>' \
--credential '<new_credential_name>'<user>@Azure:~$ ./tuono_credential_add.py --username "scott.harrison.t1@tuono.com" --venue "azure" --subscription "Playground: sharrison" --app_name "azure_test" --credential "azure_test"
Please enter the Password for <tuono_username>:
2021-01-26 19:31:42,385 INFO Generating Subscription details
2021-01-26 19:31:42,896 INFO Creating App Registration <new_app_name>
2021-01-26 19:31:47,145 INFO Generating Client Secret
2021-01-26 19:31:49,098 INFO Waiting 20s reconcile the secret creation
2021-01-26 19:32:09,108 INFO Creating Service Principal
2021-01-26 19:32:10,468 INFO Waiting 20s reconcile the Service Principal creation
2021-01-26 19:32:30,482 INFO Creating role assignment
2021-01-26 19:32:34,337 INFO Waiting 20s reconcile role assignment
2021-01-26 19:32:55,301 INFO Credential details for the Tuono Portal. THESE WILL NOT BE LOGGED:
{
"client": "<client>",
"cred_type": "static",
"name": "<new_app_name>",
"secret": "<secret>",
"subscription": "<subscription>",
"tenant": "<tenant>"
}
2021-01-27 08:32:51,249 INFO Keep these details in a secure place. If you lose these you will need to recreate the registration
2021-01-27 08:32:51,249 INFO Making REST call to add credentials to the Tuono Portal
2021-01-27 08:32:53,599 INFO Job still running
2021-01-27 08:33:04,424 INFO Pushing credentials to Tuono succeeded!
2021-01-27 08:33:04,425 INFO To see DEBUG logs, please review tuono_azure_setup.txt. Command: less tuono_azure_setup.txtLast updated
Was this helpful?