forked from TrueCloudLab/certificates
parent
d718c69ad3
commit
bc61b23d91
4 changed files with 12 additions and 0 deletions
|
@ -34,6 +34,9 @@ func main() {
|
||||||
// Initialize windows terminal
|
// Initialize windows terminal
|
||||||
ui.Init()
|
ui.Init()
|
||||||
|
|
||||||
|
ui.Println("⚠️ This command is deprecated and will be removed in future releases.")
|
||||||
|
ui.Println("⚠️ Please use https://github.com/smallstep/step-kms-plugin instead.")
|
||||||
|
|
||||||
c, err := awskms.New(context.Background(), apiv1.Options{
|
c, err := awskms.New(context.Background(), apiv1.Options{
|
||||||
Type: apiv1.AmazonKMS,
|
Type: apiv1.AmazonKMS,
|
||||||
Region: region,
|
Region: region,
|
||||||
|
|
|
@ -65,6 +65,9 @@ func main() {
|
||||||
// Initialize windows terminal
|
// Initialize windows terminal
|
||||||
ui.Init()
|
ui.Init()
|
||||||
|
|
||||||
|
ui.Println("⚠️ This command is deprecated and will be removed in future releases.")
|
||||||
|
ui.Println("⚠️ Please use https://github.com/smallstep/step-kms-plugin instead.")
|
||||||
|
|
||||||
c, err := cloudkms.New(context.Background(), apiv1.Options{
|
c, err := cloudkms.New(context.Background(), apiv1.Options{
|
||||||
Type: apiv1.CloudKMS,
|
Type: apiv1.CloudKMS,
|
||||||
CredentialsFile: credentialsFile,
|
CredentialsFile: credentialsFile,
|
||||||
|
|
|
@ -151,6 +151,9 @@ func main() {
|
||||||
// Initialize windows terminal
|
// Initialize windows terminal
|
||||||
ui.Init()
|
ui.Init()
|
||||||
|
|
||||||
|
ui.Println("⚠️ This command is deprecated and will be removed in future releases.")
|
||||||
|
ui.Println("⚠️ Please use https://github.com/smallstep/step-kms-plugin instead.")
|
||||||
|
|
||||||
switch {
|
switch {
|
||||||
case u.Get("pin-value") != "":
|
case u.Get("pin-value") != "":
|
||||||
case u.Get("pin-source") != "":
|
case u.Get("pin-source") != "":
|
||||||
|
|
|
@ -90,6 +90,9 @@ func main() {
|
||||||
// Initialize windows terminal
|
// Initialize windows terminal
|
||||||
ui.Init()
|
ui.Init()
|
||||||
|
|
||||||
|
ui.Println("⚠️ This command is deprecated and will be removed in future releases.")
|
||||||
|
ui.Println("⚠️ Please use https://github.com/smallstep/step-kms-plugin instead.")
|
||||||
|
|
||||||
pin, err := ui.PromptPassword("What is the YubiKey PIN?")
|
pin, err := ui.PromptPassword("What is the YubiKey PIN?")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fatal(err)
|
fatal(err)
|
||||||
|
|
Loading…
Reference in a new issue