SoftLayer blockstorage credential -
i want credential data storage api. tried below url
softlayer_network_storage/8884475.json?objectmask=mask[serviceresourcebackendipaddress,bytesused,ostypeid,allowedipaddresses,parentvolume.volumestatus,credentials,serviceresource.datacenter] but can't credential.
so tried api.
softlayer_network_storage/8884475/credentials.json?objectmask=mask[credentials] but can't.
how know credential?
thanks.
after applying softlayer_network_storage::getcredentials, response displays empty values using yournetwork storage id. think want credentials related authorized hosts. if i’m right, below example shows you: “username”, “password”, “host iqn” authorized hosts (bare metal server, virtual server, ip address).
https://[username]:[apikey]@api.softlayer.com/rest/v3.1/softlayer_network_storage/8884475/getobject?objectmask=mask[id,username,allowedvirtualguests[fullyqualifieddomainname,allowedhost[name,credential[username,password]]],allowedhardware[fullyqualifieddomainname,allowedhost[name,credential[username,password]]],allowedipaddresses[ipaddress,allowedhost[name,credential[username,password]]]] method:
Comments
Post a Comment