def role_id(name)
      json = client.get("/v1/auth/approle/role/#{encode_path(name)}/role-id")
      return Secret.decode(json).data[:role_id]
    rescue HTTPError => e
      return nil if e.code == 404
      raise
    end
def role_id(name)
      json = client.get("/v1/auth/approle/role/#{encode_path(name)}/role-id")
      return Secret.decode(json).data[:role_id]
    rescue HTTPError => e
      return nil if e.code == 404
      raise
    end
Reads the RoleID of an existing AppRole. If an AppRole does not exist by
 that name, +nil+ is returned.

 @example
   Vault.approle.role_id("testrole") #=> #<Vault::Secret lease_id="...">

 @return [Secret, nil]