ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Adding a Salt Minion to a Salt Master

    IT Discussion
    salt saltstack salt open open source devops linux centos centos 7 sam salt open
    2
    2
    1.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by scottalanmiller

      Salt Minions communicate with a Salt Master through a set of keys that authenticate the devices to control security. The Minions will contact the Master and request security. On the Master we can list the keys that have been submitted by Minions and we can choose to accept or deny them there.

      As root on the master we can see the key status:

      salt-key --list all
      

      If you want to accept the available keys, it's this simple:

      salt-key --accept-all
      

      With Salt commands we can ping the Minions to see what machines can respond to the Master:

      salt '*' test.ping
      
      1 Reply Last reply Reply Quote 3
      • A
        Alex Sage
        last edited by Alex Sage

        New Commands are:

        The salt-key command is used to manage all of the keys on the master. To list the keys that are on the master:

        salt-key -L
        

        The keys that have been rejected, accepted, and pending acceptance are listed. The easiest way to accept the minion key is to accept all pending keys:

        salt-key -A
        
        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post