scaleway-cli icon indicating copy to clipboard operation
scaleway-cli copied to clipboard

fix rendering of iot network create

Open remyleone opened this issue 5 years ago • 1 comments

Description

$ go run ./cmd/scw/main.go iot network create type=sigfox hub-id=8931d519-639c-43fb-81df-ef44569aadb6 topic-prefix=pouet
Network.ID              c80f21d6-90a4-4ba8-bac3-4a278a554bc6
Network.Name            cli-network-nostalgic-johnson
Network.Type            sigfox
Network.Endpoint        sigfox.iot.fr-par.scw.cloud
Network.HubID           8931d519-639c-43fb-81df-ef44569aadb6
Network.CreatedAt       now
Network.TopicPrefix     pouet
Network.Region          fr-par
Network.OrganizationID  951df375-e094-4d26-97c1-ba548eeb9c42
Secret                  eyJOZXRJRCI6ImM4MGYyMWQ2LTkwYTQtNGJhOC1iYWMzLTRhMjc4YTU1NGJjNiIsIk5ldEtleSI6IjNmODM2MjAxLWY5MmQtNDY0OC04YTBhLWMwYTg5NTNiYzFlZSJ9
  • We should warn the user that this secret won't ever appear again
  • We should unscope the network object from this using sections

How this functionality would be exposed

References

Version

Version 2.0.0+dev BuildDate unknown GoVersion go1.15.2 GitBranch unknown GitCommit unknown GoArch amd64 GoOS darwin

remyleone avatar Sep 14 '20 16:09 remyleone

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 13 '20 17:12 stale[bot]