Showing results for 
Search instead for 
Did you mean: 
Mission Specialist
Mission Specialist

How to configure sshKey and pullSecret in the install-config.yaml?

Hello guys,

I have googled about this, but in vain. Documentation  is not clear on this.

I'm following the guide for installing on Bare metal, user provisioned infrastructure. Version 4.10.


On the install-config.yaml file can someone post an example of configuration of sshKey and pullSecret?

For ssKey i have tried:

- /root/.ssh/id_rsa

- ../.ssh/id_rda (path relative to the install dir)

- Pasting the entire ssh key.


For pullSecret, i have the file itselft on the same dir. Have tried some examples, but all fail. Can someone please post an example?

Labels (4)
1 Reply
Mission Specialist
Mission Specialist

Replying to myself. Got the solution, so this might help whoever comes here by googling.


pullSecret should have the entire contents of the pull-secret file surroung by single quotes

Same for sshKey, should be done with the public ssh key. Stupidly, i was using the private...

So, examples:


pullSecret: '{"auths":{"":{"auth":"b3BlbnNoaW   ...(rest of the contents here) ...    amdDQQ==","email":""}}}'

Notice the additional single quotes in the begginig and end.


sshKey: "ssh-rsa AAAAB3NzaC1yc2EAAA    ...(rest of the contents here) ...    ycUfrVpc="

Notice that the user part, root@hostname should be kept out. At least, it doesn't complain  here


Join the discussion
You must log in to join this conversation.