Get a network config
Generating a network config is one of the most common operations once you have a network up and running.
#
Using CRDsThis is the simplest way to get a network config. You can get a network config with the following command:
The network config controller will be watching for changes in the network config CRD and will generate a network config secret with the name specified in the secretName
field. The secret will contain a config.yaml
file with the network config. If the identities are renewed, the network config will be updated automatically.
#
Using the CLI#
Generate network configYou can get a network config with the following command:
Network config will look like this:
In order to have users in your network, first you need to register and enroll them:
#
Setup env variables#
Register a userIf it has been already registered, the following error will appear