Forum Discussion

janos_pesti's avatar
janos_pesti
Novice I
3 years ago

hi all, quick question. I try to establish a connection

hi all, quick question. I try to establish a connection to pure1 with python to be able to pull back load stats for our arrays, but the documentation is not sufficient for me unfortunately. No examples given about formatting of the variable values like the path to the key file, etc would someone have an example of setting the python variables or environment variables and a connection string?

6 Replies

  • janos.pesti Can you provide a link to where this excerpt/snippet came from?
  • https://pure-storage-py-pure-client.readthedocs-hosted.com/en/latest/pure1_reference.html
  • i managed now to get a connection....almost. i would need to disable ssl cert verification
  • pure1 should have a valid cert? any reason why you would need to disable it?
  • i think our firewall is triggering this error . i can have networks disable decrypt on this url but if possible from the code, that would be better. But I try a few things more...
  • for pure1, sslcert option does not exist in the Client class. it only exists in FA/FB client classes.