github.com/grailbio/base@v0.0.11/cmd/grail-role/doc.go (about)

     1  // This file was auto-generated via go generate.
     2  // DO NOT UPDATE MANUALLY
     3  
     4  /*
     5  Command role creates Vanadium principals for a Vanadium role account. This is
     6  accomplished by fetching a VanadiumTicket from the ticket-server. The
     7  ticket-server will bless the principal presented by the client so the blessing
     8  presented to the ticket-server is required to have a ':_role' prefix to prevent
     9  the accidental reuse of the original private key of the client.
    10  
    11  Example:
    12  
    13    grail role tickets/roles/lims-server /tmp/lims-server
    14  
    15  Usage:
    16     role [flags] <ticket> <directory>
    17  
    18  The role flags are:
    19   -duration=1h0m0s
    20     Duration for the blessing.
    21   -timeout=10s
    22     The timeout of the requests to the server.
    23  
    24  The global flags are:
    25   -alsologtostderr=false
    26     log to standard error as well as files
    27   -log_backtrace_at=:0
    28     when logging hits line file:N, emit a stack trace
    29   -log_dir=
    30     if non-empty, write log files to this directory
    31   -logtostderr=false
    32     log to standard error instead of files
    33   -max_stack_buf_size=4292608
    34     max size in bytes of the buffer to use for logging stack traces
    35   -metadata=<just specify -metadata to activate>
    36     Displays metadata for the program and exits.
    37   -stderrthreshold=2
    38     logs at or above this threshold go to stderr
    39   -time=false
    40     Dump timing information to stderr before exiting the program.
    41   -v=0
    42     log level for V logs
    43   -v23.credentials=
    44     directory to use for storing security credentials
    45   -v23.namespace.root=[/(v23.grail.com:internal:mounttabled)@ns-0.v23.grail.com:8101,/(v23.grail.com:internal:mounttabled)@ns-1.v23.grail.com:8101,/(v23.grail.com:internal:mounttabled)@ns-2.v23.grail.com:8101]
    46     local namespace root; can be repeated to provided multiple roots
    47   -v23.permissions.file=
    48     specify a perms file as <name>:<permsfile>
    49   -v23.permissions.literal=
    50     explicitly specify the runtime perms as a JSON-encoded access.Permissions.
    51     Overrides all --v23.permissions.file flags
    52   -v23.proxy=
    53     object name of proxy service to use to export services across network
    54     boundaries
    55   -v23.proxy.limit=0
    56     max number of proxies to connect to when the policy is to connect to all
    57     proxies; 0 implies all proxies
    58   -v23.proxy.policy=
    59     policy for choosing from a set of available proxy instances
    60   -v23.tcp.address=
    61     address to listen on
    62   -v23.tcp.protocol=
    63     protocol to listen with
    64   -v23.virtualized.advertise-private-addresses=
    65     if set the process will also advertise its private addresses
    66   -v23.virtualized.disallow-native-fallback=false
    67     if set, a failure to detect the requested virtualization provider will result
    68     in an error, otherwise, native mode is used
    69   -v23.virtualized.dns.public-name=
    70     if set the process will use the supplied dns name (and port) without
    71     resolution for its entry in the mounttable
    72   -v23.virtualized.docker=
    73     set if the process is running in a docker container and needs to configure
    74     itself differently therein
    75   -v23.virtualized.provider=
    76     the name of the virtualization/cloud provider hosting this process if the
    77     process needs to configure itself differently therein
    78   -v23.virtualized.tcp.public-address=
    79     if set the process will use this address (resolving via dns if appropriate)
    80     for its entry in the mounttable
    81   -v23.virtualized.tcp.public-protocol=
    82     if set the process will use this protocol for its entry in the mounttable
    83   -v23.vtrace.cache-size=1024
    84     The number of vtrace traces to store in memory
    85   -v23.vtrace.collect-regexp=
    86     Spans and annotations that match this regular expression will trigger trace
    87     collection
    88   -v23.vtrace.dump-on-shutdown=true
    89     If true, dump all stored traces on runtime shutdown
    90   -v23.vtrace.enable-aws-xray=false
    91     Enable the use of AWS x-ray integration with vtrace
    92   -v23.vtrace.root-span-name=
    93     Set the name of the root vtrace span created by the runtime at startup
    94   -v23.vtrace.sample-rate=0
    95     Rate (from 0.0 to 1.0) to sample vtrace traces
    96   -v23.vtrace.v=0
    97     The verbosity level of the log messages to be captured in traces
    98   -vmodule=
    99     comma-separated list of globpattern=N settings for filename-filtered logging
   100     (without the .go suffix).  E.g. foo/bar/baz.go is matched by patterns baz or
   101     *az or b* but not by bar/baz or baz.go or az or b.*
   102   -vpath=
   103     comma-separated list of regexppattern=N settings for file pathname-filtered
   104     logging (without the .go suffix).  E.g. foo/bar/baz.go is matched by patterns
   105     foo/bar/baz or fo.*az or oo/ba or b.z but not by foo/bar/baz.go or fo*az
   106  */
   107  package main