hijoker

收到一个 Bearer token 或者 config 文件,如何判断是不是 admin 权限

  •  
  •   hijoker · Nov 8, 2021 · 2468 views
    This topic created in 1822 days ago, the information mentioned may be changed or developed.
    RT
    想到一个办法就是
    kubectl auth can-i * * -A
    2 replies  •  2021-11-09 12:30:52 +08:00
    raynix
    raynix
    Nov 9, 2021
    1
    你已经解答了自己的问题 👏
    hijoker
    hijoker
    OP
    Nov 9, 2021
    2
    我在想,有没有更好的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1452 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:19 · PVG 02:19 · LAX 10:19 · JFK 13:19
    ♥ Do have faith in what you're doing.