ProxyGeneration

class DIRAC.FrameworkSystem.Client.ProxyGeneration.CLIParams

Bases: object

certLoc = False
checkWithCS = True
diracGroup = False
embedDefaultGroup = True
getDIRACGroup()

Get DIRAC group

Returns:

str

getProxyLifeTime()

Get proxy lifetime

Returns:

str

getProxyRemainingSecs()

Get proxy livetime

Returns:

int

keyLoc = False
limitedProxy = False
proxyLifeTime = 86400
proxyLoc = False
proxyStrength = 2048
registerCLISwitches()

Register CLI switches

setCertLocation(arg)

Set certificate path

Parameters:

arg (str) – certificate path

Returns:

S_OK()

setDIRACGroup(arg)

Set DIRAC group

Parameters:

arg (str) – arguments

Returns:

S_OK()

setDisableCSCheck(_arg)

Disable CS check

Parameters:

_arg – unuse

Returns:

S_OK()

setKeyLocation(arg)

Set key path

Parameters:

arg (str) – key path

Returns:

S_OK()

setProxyLifeTime(arg)

Set proxy lifetime

Parameters:

arg (str) – arguments

Returns:

S_OK()/S_ERROR()

setProxyLimited(_arg)

Set proxy limited

Parameters:

_arg – unuse

Returns:

str

setProxyLocation(arg)

Set proxy path

Parameters:

arg (str) – proxy path

Returns:

S_OK()

setProxyRemainingSecs(arg)

Set proxy lifetime

Parameters:

arg (int) – lifetime in seconds

Returns:

S_OK()

setProxyStrength(arg)

Get proxy strength

Returns:

S_OK()

setStdinPasswd(_arg)

Set stdin passwd

Parameters:

_arg – unuse

Returns:

S_OK()

setStrict(_arg)

Set strict

Parameters:

_arg – unuse

Returns:

S_OK()

setSummary(_arg)

Set proxy limited

Parameters:

_arg – unuse

Returns:

str

stdinPasswd = False
strict = False
summary = False
userPasswd = ''
DIRAC.FrameworkSystem.Client.ProxyGeneration.generateProxy(params)

Generate proxy

Parameters:

params – parameters

Returns:

S_OK()/S_ERROR()