Skip to main content

inigo create


Commands

Global flags

  -h, --help   help for this command

inigo create demo

Description

Creates a demo service.

Syntax

inigo create demo

Output

$ inigo create demo

created inigo_starwars_demo/access/actor.inigo
created inigo_starwars_demo/access/director.inigo
created inigo_starwars_demo/access/producer.inigo
created inigo_starwars_demo/access/viewer.graphql
created inigo_starwars_demo/access/viewer.inigo
created inigo_starwars_demo/access.yml
created inigo_starwars_demo/rate_limit.yml
created inigo_starwars_demo/security.yml
created inigo_starwars_demo/service.yml

inigo create gateway

Description

Create a new gateway

Syntax

inigo create gateway [service_name]:[service_label] --composition <version> [flags]

Optional flags

      --composition string   provide composition version, available options: ApolloFederation_v1, ApolloFederation_v2 (default "none")
--label string provide service label

Output

inigo create gateway gateway:prod --composition ApolloFederation_v2

inigo create registry

Description

Syntax

inigo create registry [service_name] --url=[internal_registry_url] [flags]

Optional flags

  -u, --url string   add internal url to the registry

Output


inigo create registry token

Description

Syntax

inigo create registry token [registry_name]

Output


inigo create secret

Description

Creates a secret.

Syntax

inigo create secret [secret_name] [secret_value]

Output

$ inigo create secret NAME_OF_THE_SECRET supersecretval

Secret 'NAME_OF_THE_SECRET' was successfully created

inigo create service

Description

Create a new service

Syntax

inigo create service [service_name]:[service_label] [flags]

Optional flags

      --init           create service with default config files
-l, --label string sets a label for a service

Output

$ inigo create service demo:test

service 3606503789527040 created

$ inigo create service dolev:test1 --init

service 3606571775000576 created

inigo create token

Description

Creates a service token.

Syntax

inigo create token [service_name]:[service_label] [flags]

Optional flags

      --genfile        create and prefill service.token file
-l, --label string creates a token by service label name
-n, --name string creates a token with provided name

Output

$ inigo create token test

service token created:
eyJ..1g

$ inigo create token --genfile test

service token created and prefilled service.token file