Manage credentials and configurations in workspaces
Manage mounted Git credentials, SSH keys, image pull secrets, and configuration files in OpenShift Dev Spaces workspaces so that tools authenticate and configure automatically.
- How credentials and configurations work in workspaces
Mount credentials and configurations into your workspaces so that tools such as Git, Maven, and cloud CLIs authenticate automatically without manual setup each time you start a workspace. - Mount Secrets
Mount Kubernetes Secrets into workspace containers to provide sensitive configuration data such as credentials, API keys, and certificates. - Create an image pull Secret with oc
Create an image pull Secret withocto allowDev WorkspacePods to access container registries that require authentication. - Create an image pull Secret from a .dockercfg file
Create an image pull Secret from an existing.dockercfgfile to allowDev WorkspacePods to access container registries that require authentication. - Create an image pull Secret from a config.json file
Create an image pull Secret from an existing$HOME/.docker/config.jsonfile to allowDev WorkspacePods to access container registries that require authentication. - Mount ConfigMaps
Mount Kubernetes ConfigMaps into workspace containers to provide non-sensitive configuration data. - Mount Git configuration
Mount your Git configuration into workspaces to set your Git identity and preferences. - Mount SSH configuration
Mount custom SSH configurations into workspaces by using a ConfigMap. Extend the default SSH settings with additional parameters or host-specific configurations.